fix: use complete image name when computing latest target

This commit is contained in:
Sandro Modarelli
2022-03-25 14:46:48 +01:00
committed by Alex Viscreanu
parent a5055cd007
commit 17f90e5aa4

View File

@@ -14,7 +14,7 @@ export IMAGE=$IMAGE:$TAG
export CONTEXT_PATH=${INPUT_PATH}
if [[ "$INPUT_TAG_WITH_LATEST" == "true" ]]; then
export IMAGE_LATEST="$IMAGE:latest"
export IMAGE_LATEST="$REPOSITORY:latest"
fi
function ensure() {