From 17f90e5aa45fae7f51284c35b27d1c05b0fd2c12 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() {