Skip to content

Commit

Permalink
F2calv/2024 04 only push packages on default branch (#40)
Browse files Browse the repository at this point in the history
* test optional image/chart push

* revert
  • Loading branch information
f2calv authored May 24, 2024
1 parent 602acfd commit 7885fe1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
tag: ${{ needs.versioning.outputs.semVer }}
tag-major: ${{ needs.versioning.outputs.major }}
tag-minor: ${{ needs.versioning.outputs.minor }}
push-image: ${{ github.ref_name == github.event.repository.default_branch }}

chart:
uses: f2calv/gha-workflows/.github/workflows/helm-chart-package.yml@v1
Expand All @@ -52,6 +53,7 @@ jobs:
registry: ghcr.io/${{ github.repository_owner }}
chart-repository-prefix: charts/
tag: ${{ needs.versioning.outputs.semVer }}
push-chart: ${{ github.ref_name == github.event.repository.default_branch }}

release:
needs: [versioning, app, image, chart]
Expand Down

0 comments on commit 7885fe1

Please sign in to comment.