fix: use complete image name when computing latest target

This commit is contained in:
Sandro Modarelli
2022-03-31 11:29:47 +02:00
committed by Alex Viscreanu
parent a5055cd007
commit 17f90e5aa4
+1 -1
View File
@@ -14,7 +14,7 @@ export IMAGE=$IMAGE:$TAG
export CONTEXT_PATH=${INPUT_PATH} export CONTEXT_PATH=${INPUT_PATH}
if [[ "$INPUT_TAG_WITH_LATEST" == "true" ]]; then if [[ "$INPUT_TAG_WITH_LATEST" == "true" ]]; then
export IMAGE_LATEST="$IMAGE:latest" export IMAGE_LATEST="$REPOSITORY:latest"
fi fi
function ensure() { function ensure() {