From e9b46f81b757924623ac7bfac27870281ea413af Mon Sep 17 00:00:00 2001 From: marcbal Date: Fri, 7 Apr 2023 23:49:27 +0200 Subject: [PATCH] Add :latest tag to built image --- build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index ddb99f9..d91186a 100644 --- a/build.sh +++ b/build.sh @@ -31,9 +31,11 @@ curl -L -o $RUNNABLE_JAR $DOWNLOAD_URL DOCKER_TAG="cr.pandacube.fr/geyser:"$GEYSER_VERSION"-"$GEYSER_BUILD +DOCKER_TAG_LATEST="cr.pandacube.fr/geyser:latest" echo "Building docker image of Geyser Standalone "$DOCKER_TAG docker build --build-arg RUNNABLE_JAR=$RUNNABLE_JAR -t $DOCKER_TAG . - +docker tag $DOCKER_TAG $DOCKER_TAG_LATEST echo "Pushing image to Pandacube’s container registry" docker push $DOCKER_TAG +docker push $DOCKER_TAG_LATEST