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,23 +35,24 @@ jobs:
GIT_CREDENTIALS: djpbessems:${{ secrets.GIT_APIKEY }}
- name: Assert semantic release output
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: catthehacker/ubuntu:act-latest
runs-on: dind
needs: Semantic Release (Dry-run)
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Kaniko build
uses: aevea/action-kaniko@master
with:
registry: code.spamasaurus.com
image: djpbessems/spamasaurusrex
username: ${{ secrets.GIT_USERNAME }}
password: ${{ secrets.GIT_APIKEY }}
tag: ${{ steps.sem_rel.outputs.version }}
- name: Checkout
uses: actions/checkout@v4
- name: Kaniko build
uses: aevea/action-kaniko@master
with:
registry: code.spamasaurus.com
image: djpbessems/spamasaurusrex
username: ${{ secrets.GIT_USERNAME }}
password: ${{ secrets.GIT_APIKEY }}
tag: ${{ steps.sem_rel.outputs.version }}
Helm chart:
container: alpine/helm
@ -59,6 +60,8 @@ jobs:
needs: Semantic Release (Dry-run)
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Inject semantic release version
run: |
sed -i 's/{{ chart_version }}/'${{ steps.sem_rel.outputs.version }}'/g' charts/spamasaurusrex/Chart.yaml