From 9af1f52e99e1ffbd7337221c77fd698d1ad0efac Mon Sep 17 00:00:00 2001 From: Sandro Modarelli Date: Fri, 25 Mar 2022 14:46:48 +0100 Subject: [PATCH] fix: use complete image name when computing latest target --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index e124bfb..d2f4421 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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() {