Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
f2calv committed May 3, 2024
1 parent b467e16 commit b951996
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,19 @@ jobs:

image:
uses: f2calv/gha-workflows/.github/workflows/container-image-build.yml@v1
permissions:
packages: write #for pushing container image
contents: read #note: for private repos setting packages to write, will reset all other permissions to none (weird?)
needs: [versioning, app]
with:
tag: ${{ needs.versioning.outputs.semVer }}

chart:
uses: f2calv/gha-workflows/.github/workflows/helm-chart-build.yml@v1
uses: f2calv/gha-workflows/.github/workflows/helm-chart-package.yml@v1
needs: [versioning, app, image]
if: github.ref == 'refs/heads/main'
with:
semVer: ${{ needs.versioning.outputs.semVer }}
tag: ${{ needs.versioning.outputs.semVer }}

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

0 comments on commit b951996

Please sign in to comment.