diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index eed3329..501c6e3 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -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 "" | 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