Skip to content

Commit

Permalink
use buildx to build and push
Browse files Browse the repository at this point in the history
  • Loading branch information
ashnamehrotra committed Aug 9, 2023
1 parent 3b7dd94 commit 0bfad9f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,4 @@ jobs:
- name: Build and push copa-action image with new version
run: |
tag="$(echo "${{ github.ref }}" | tr -d 'refs/tags/v')"
docker build --build-arg copa_version=${tag} -t ghcr.io/project-copacetic/copa-action:v"$tag" .
docker push ghcr.io/project-copacetic/copa-action:v"$tag"
docker buildx build --build-arg copa_version=${tag} -t ghcr.io/project-copacetic/copa-action:v"$tag" --push .

0 comments on commit 0bfad9f

Please sign in to comment.