with base-tag
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is failing

This commit is contained in:
Kasper Juul Hermansen 2022-08-21 00:20:11 +02:00
parent 1dbf1eb537
commit 9ba428b6ad
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23

View File

@ -2,8 +2,9 @@
set -e
tag="$REGISTRY/$SERVICE:${COMMIT_SHA:0:10}"
latest_tag="$REGISTRY/$SERVICE:latest"
base_tag="$REGISTRY/$SERVICE"
tag="$base_tag:${COMMIT_SHA:0:10}"
latest_tag="$base_tag:latest"
if [[ -n $DEBUG ]]
then