build: Complete build/release workflow
Some checks failed
Container & Helm chart / Semantic Release (Dry-run) (push) Successful in 38s
Container & Helm chart / Helm chart (push) Successful in 17s
Container & Helm chart / Semantic Release (push) Failing after 39s
Container & Helm chart / Container image (push) Successful in 1m16s
Some checks failed
Container & Helm chart / Semantic Release (Dry-run) (push) Successful in 38s
Container & Helm chart / Helm chart (push) Successful in 17s
Container & Helm chart / Semantic Release (push) Failing after 39s
Container & Helm chart / Container image (push) Successful in 1m16s
This commit is contained in:
parent
5c6b3cc9fc
commit
d9dcf86077
@ -34,7 +34,7 @@ jobs:
|
||||
--verifyRelease @semantic-release/exec \
|
||||
--verifyReleaseCmd 'echo "version=${nextRelease.version}" >> $GITHUB_OUTPUT'
|
||||
env:
|
||||
GIT_CREDENTIALS: djpbessems:${{ secrets.GIT_APIKEY }}
|
||||
GIT_CREDENTIALS: ${{ secrets.GIT_USERNAME }}:${{ secrets.GIT_APIKEY }}
|
||||
- name: Assert semantic release output
|
||||
run: |
|
||||
[[ -z "${{ steps.sem_rel.outputs.version }}" ]] && {
|
||||
@ -64,7 +64,6 @@ jobs:
|
||||
name: Helm chart
|
||||
runs-on: dind-rootless
|
||||
needs: semrel_dryrun
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
@ -94,3 +93,29 @@ jobs:
|
||||
helm cm-push \
|
||||
spamasaurusrex-*.tgz \
|
||||
spamasaurus
|
||||
|
||||
semrel:
|
||||
name: Semantic Release
|
||||
runs-on: dind-rootless
|
||||
needs: build_container,build_chart
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 20
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
npm install \
|
||||
semantic-release \
|
||||
@semantic-release/commit-analyzer \
|
||||
@semantic-release/exec
|
||||
- name: Semantic Release
|
||||
run: |
|
||||
npx semantic-release \
|
||||
--branches ${{ gitea.refname }} \
|
||||
--tag-format "v\$${version}" \
|
||||
--plugins @semantic-release/commit-analyzer,@semantic-release/release-notes-generator,@semantic-release/changelog,@semantic-release/git
|
||||
env:
|
||||
GIT_CREDENTIALS: ${{ secrets.GIT_USERNAME }}:${{ secrets.GIT_APIKEY }}
|
||||
|
Loading…
Reference in New Issue
Block a user