Add :latest tag to built image
This commit is contained in:
parent
3be342aae2
commit
e9b46f81b7
4
build.sh
4
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="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
|
echo "Building docker image of Geyser Standalone "$DOCKER_TAG
|
||||||
docker build --build-arg RUNNABLE_JAR=$RUNNABLE_JAR -t $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"
|
echo "Pushing image to Pandacube’s container registry"
|
||||||
docker push $DOCKER_TAG
|
docker push $DOCKER_TAG
|
||||||
|
docker push $DOCKER_TAG_LATEST
|
||||||
|
Loading…
Reference in New Issue
Block a user