Skip to content

Commit

Permalink
update release script
Browse files Browse the repository at this point in the history
  • Loading branch information
codekitchen committed Jun 1, 2022
1 parent 449d2e1 commit ad10b57
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dev/release
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

set -eo pipefail

TAG=${1:?"Must supply tag"}
REPO=codekitchen/dinghy-http-proxy
TAG=$REPO:${1:?"Must supply tag"}
LATEST=$REPO:latest

BUILDER=$(docker buildx create --use)
docker buildx build --platform linux/amd64,linux/arm64 -t "$TAG" --push .
docker buildx build --platform linux/amd64,linux/arm64 -t "$TAG" -t "$LATEST" --push .
docker buildx rm "$BUILDER"

0 comments on commit ad10b57

Please sign in to comment.