diff --git a/deploy.sh b/deploy.sh index 11e37890..d59ae7bc 100755 --- a/deploy.sh +++ b/deploy.sh @@ -21,7 +21,7 @@ if $(git rev-parse --is-shallow-repository); then git fetch --unshallow fi BUILD_NUMBER=$(git rev-list --since=${COMMIT_DATE}T00:00:00Z --first-parent --count ${COMMIT_SHA}) -BUILD_ID2=${COMMIT_DATE//-/.}.${BUILD_NUMBER} +BUILD_ID2=${COMMIT_DATE//-/.}-${BUILD_NUMBER} docker tag ${TAG}:${COMMIT_SHA} ${TAG}:${BUILD_ID} docker tag ${TAG}:${COMMIT_SHA} ${TAG}:${BUILD_ID2}