Skip to content

Commit

Permalink
test wf
Browse files Browse the repository at this point in the history
  • Loading branch information
f2calv committed May 3, 2024
1 parent 6f7e7cb commit a837e4b
Showing 1 changed file with 27 additions and 25 deletions.
52 changes: 27 additions & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,35 +25,37 @@ jobs:
tag-prefix: ''
tag-and-release: false

app:
uses: f2calv/gha-workflows/.github/workflows/app-build-dotnet.yml@v1
needs: versioning
with:
fullSemVer: ${{ needs.versioning.outputs.fullSemVer }}
# app:
# uses: f2calv/gha-workflows/.github/workflows/app-build-dotnet.yml@v1
# needs: versioning
# with:
# fullSemVer: ${{ needs.versioning.outputs.fullSemVer }}

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 }}
# 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-package.yml@v1
needs: [versioning, app, image]
#uses: f2calv/gha-workflows/.github/workflows/helm-chart-package.yml@v1
uses: f2calv/gha-workflows/.github/workflows/helm-chart-package.yml@f2calv/2024-04-updates5
#needs: [versioning, app, image]
needs: [versioning]
if: github.ref == 'refs/heads/main'
with:
tag: ${{ needs.versioning.outputs.semVer }}

release:
needs: [versioning, app, image, chart]
if: github.ref == 'refs/heads/main'
uses: f2calv/gha-workflows/.github/workflows/gha-release-versioning.yml@v1
permissions:
contents: write
with:
semVer: ${{ needs.versioning.outputs.semVer }}
tag-prefix: ''
move-major-tag: false
# release:
# needs: [versioning, app, image, chart]
# if: github.ref == 'refs/heads/main'
# uses: f2calv/gha-workflows/.github/workflows/gha-release-versioning.yml@v1
# permissions:
# contents: write
# with:
# semVer: ${{ needs.versioning.outputs.semVer }}
# tag-prefix: ''
# move-major-tag: false

0 comments on commit a837e4b

Please sign in to comment.