Skip to content

Commit

Permalink
ci(goreleaser): omit <none> tagged images
Browse files Browse the repository at this point in the history
  • Loading branch information
ekristen committed Aug 28, 2024
1 parent efe8727 commit 66d9285
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
- name: push docker images (for branches)
if: github.ref == 'refs/heads/main' || github.event.pull_request.base.ref == 'main' || github.event_name == 'workflow_dispatch'
run: |
docker images --format "{{.Repository}}:{{.Tag}}" | grep "${{ github.repository }}" | xargs -L1 docker push
docker images --format "{{.Repository}}:{{.Tag}}" | grep "${{ github.repository }}" | grep -v "<none>" | xargs -L1 docker push
- name: upload artifacts
if: ${{ github.event.pull_request.base.ref == 'main' || github.event_name == 'workflow_dispatch' }}
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 66d9285

Please # to comment.