diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index e457566..42054df 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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 }} \ No newline at end of file