Skip to content

Commit

Permalink
fix: push with specify tag
Browse files Browse the repository at this point in the history
  • Loading branch information
levy committed Dec 30, 2023
1 parent 55413b5 commit 0307f66
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/devops/docker-build-and-push-script.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ if [ "$push" = true ]; then

# 推送
echo "Pushing to registry..."
docker push ${IMAGE}:${IMAGE_TAG} -a
docker push ${IMAGE}:${IMAGE_TAG}
docker push ${IMAGE}:latest

echo "Build and push complete!"
else
Expand Down

0 comments on commit 0307f66

Please sign in to comment.