Skip to content

Commit

Permalink
fix conditionals
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkarlsen committed Sep 9, 2023
1 parent fe80071 commit c8ddc24
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,11 @@ jobs:
make docker-buildx VERSION=${{ env.VERSION }}
- name: bundle
if:
contains('
refs/heads/main
refs/tags/v
', github.ref)
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags')
run: |
make bundle bundle-build bundle-push VERSION=${{ env.VERSION }}
- name: catalog
if:
contains('
refs/heads/main
refs/tags/v
', github.ref)
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags')
run: |
make catalog-build catalog-push VERSION=${{ env.VERSION }}

0 comments on commit c8ddc24

Please sign in to comment.