2
0
mirror of https://github.com/tomav/docker-mailserver synced 2025-08-31 06:15:28 +00:00

housekeeping

This commit is contained in:
Georg Lauterbach
2020-11-06 14:04:23 +01:00
parent 2f840d7da5
commit ed7106b04d
20 changed files with 184 additions and 181 deletions

View File

@@ -1,8 +1,9 @@
#!/bin/sh
VCS_REF=$(git rev-parse --short HEAD)
VCS_VERSION=$(git describe --tags --contains --always)
#! /bin/sh
VCS_REF="$(git rev-parse --short HEAD)"
VCS_VERSION="$(git describe --tags --contains --always)"
docker build \
--build-arg VCS_REF="$VCS_REF" \
--build-arg VCS_VERSION="$VCS_VERSION" \
-f "$DOCKERFILE_PATH" -t "$IMAGE_NAME" .
--build-arg VCS_REF="${VCS_REF}" \
--build-arg VCS_VERSION="${VCS_VERSION}" \
-f "${DOCKERFILE_PATH}" -t "${IMAGE_NAME}" .