chore: Add missing checkout step
Some checks failed
Container & Helm chart / Semantic Release (Dry-run) (push) Successful in 33s
Container & Helm chart / Helm chart (push) Failing after 8s
Container & Helm chart / Container image (push) Successful in 51s

This commit is contained in:
Danny Bessems 2024-02-28 09:23:21 +11:00
parent 091b6baf9d
commit a050bd8cba

View File

@ -35,7 +35,8 @@ jobs:
GIT_CREDENTIALS: djpbessems:${{ secrets.GIT_APIKEY }} GIT_CREDENTIALS: djpbessems:${{ secrets.GIT_APIKEY }}
- name: Assert semantic release output - name: Assert semantic release output
run: | run: |
[[ -z "${{ steps.sem_rel.outputs.version }}" ]] && (echo 'No release tag - exiting'; exit 1) || exit 0 echo "${{ steps.sem_rel.outputs.version }}"
# [[ -z "${{ steps.sem_rel.outputs.version }}" ]] && (echo 'No release tag - exiting'; exit 1) || exit 0
Container image: Container image:
container: catthehacker/ubuntu:act-latest container: catthehacker/ubuntu:act-latest
@ -59,6 +60,8 @@ jobs:
needs: Semantic Release (Dry-run) needs: Semantic Release (Dry-run)
steps: steps:
- name: Checkout
uses: actions/checkout@v4
- name: Inject semantic release version - name: Inject semantic release version
run: | run: |
sed -i 's/{{ chart_version }}/'${{ steps.sem_rel.outputs.version }}'/g' charts/spamasaurusrex/Chart.yaml sed -i 's/{{ chart_version }}/'${{ steps.sem_rel.outputs.version }}'/g' charts/spamasaurusrex/Chart.yaml