Skip to content

Commit

Permalink
Fix pushing the latest multi-arch Docker image (#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkosiec committed Jan 7, 2024
1 parent 71506de commit 7f054db
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/publish-npm-and-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ read -p "Push the Docker image ${IMAGE_VERSION_TAG} as latest (y/n)?" choice
case "$choice" in
y|Y )
echo "Tagging and pushing Docker image with '${IMAGE_LATEST_TAG}' tag..."
docker tag ${IMAGE_NAME}:${IMAGE_VERSION_TAG} ${IMAGE_NAME}:${IMAGE_LATEST_TAG}
docker push ${IMAGE_NAME}:${IMAGE_LATEST_TAG} ;;
docker buildx imagetools create -t ${IMAGE_NAME}:${IMAGE_LATEST_TAG} ${IMAGE_NAME}:${IMAGE_VERSION_TAG} ;;
n|N ) echo "Skipping...";;
* ) echo "invalid";;
esac
Expand Down

0 comments on commit 7f054db

Please sign in to comment.