1
0
Fork 0
mirror of https://github.com/aevea/action-kaniko.git synced 2025-01-30 22:09:37 +01:00

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() {