Skip to content

Commit 1177556

Browse files
committed
enable docker & artifact push only on branch push
1 parent a32bc35 commit 1177556

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/build.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ jobs:
7676
./dist/bin/kupo +RTS --info -RTS
7777
7878
- name: 📎 Upload Artifact
79+
if: ${{ github.event_name == 'push' }}
7980
uses: actions/upload-artifact@v4
8081
with:
8182
name: kupo-${{ steps.tag.outputs.value }}-${{ matrix.arch }}-${{ matrix.os }}
@@ -84,6 +85,7 @@ jobs:
8485
dist/share
8586
8687
docker:
88+
if: ${{ github.event_name == 'push' }}
8789
needs: [ build ]
8890

8991
strategy:

0 commit comments

Comments
 (0)