Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
thegecko authored Feb 23, 2024
1 parent 864c4ce commit 7dbb0f2
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,7 @@ jobs:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build
if: startsWith(github.ref, 'refs/tags/') != true
uses: docker/build-push-action@v2
with:
context: ${{ matrix.image }}
push: false
- name: Build and push
if: startsWith(github.ref, 'refs/tags/')
uses: docker/build-push-action@v2
with:
context: ${{ matrix.image }}
Expand All @@ -56,4 +49,4 @@ jobs:
org.opencontainers.image.source=${{ github.event.repository.html_url }}
org.opencontainers.image.revision=${{ github.sha }}
org.opencontainers.image.licenses=GPL-3.0-only
push: true
push: startsWith(github.ref, 'refs/tags/')

0 comments on commit 7dbb0f2

Please sign in to comment.