Skip to content

Commit

Permalink
fix: remove builder instances after build
Browse files Browse the repository at this point in the history
  • Loading branch information
shenxianpeng committed Mar 13, 2024
1 parent 03aeda9 commit 16c04df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ jobs:
- name: Check buildx bake
run: docker buildx bake --file docker-bake.hcl --print

- name: Publish an image for tag ${{ matrix.target }}
- name: Build image for tag ${{ matrix.target }}
if: github.ref == 'refs/heads/master'
run: docker buildx bake --file docker-bake.hcl ${{ matrix.target }} --load

- name: Publish an image for tag ${{ matrix.target }}
- name: Publish image for tag ${{ matrix.target }}
if: github.ref == 'refs/heads/master' && github.event_name == 'workflow_dispatch'
run: docker buildx bake --file docker-bake.hcl ${{ matrix.target }} --push

Expand Down

0 comments on commit 16c04df

Please sign in to comment.