Skip to content

Commit

Permalink
ci: disable push image during PR
Browse files Browse the repository at this point in the history
Signed-off-by: davidko <dko@suse.com>
  • Loading branch information
innobead committed Jun 17, 2024
1 parent c7021ae commit 27add97
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
name: Build and push AMD64 images
runs-on: ubuntu-latest
needs: build-amd64-binaries
if: ${{ startsWith(github.ref, 'refs/heads/') || startsWith(github.ref, 'refs/tags/') }}
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -131,6 +132,7 @@ jobs:
name: Build and push ARM64 images
runs-on: longhorn-infra-arm64-runners
needs: build-arm64-binaries
if: ${{ startsWith(github.ref, 'refs/heads/') || startsWith(github.ref, 'refs/tags/') }}
steps:
- name: Install make curl git
run: |
Expand Down

0 comments on commit 27add97

Please sign in to comment.