chore: Add missing checkout step
This commit is contained in:
parent
091b6baf9d
commit
a050bd8cba
@ -35,23 +35,24 @@ 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
|
||||||
runs-on: dind
|
runs-on: dind
|
||||||
needs: Semantic Release (Dry-run)
|
needs: Semantic Release (Dry-run)
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Kaniko build
|
- name: Kaniko build
|
||||||
uses: aevea/action-kaniko@master
|
uses: aevea/action-kaniko@master
|
||||||
with:
|
with:
|
||||||
registry: code.spamasaurus.com
|
registry: code.spamasaurus.com
|
||||||
image: djpbessems/spamasaurusrex
|
image: djpbessems/spamasaurusrex
|
||||||
username: ${{ secrets.GIT_USERNAME }}
|
username: ${{ secrets.GIT_USERNAME }}
|
||||||
password: ${{ secrets.GIT_APIKEY }}
|
password: ${{ secrets.GIT_APIKEY }}
|
||||||
tag: ${{ steps.sem_rel.outputs.version }}
|
tag: ${{ steps.sem_rel.outputs.version }}
|
||||||
|
|
||||||
Helm chart:
|
Helm chart:
|
||||||
container: alpine/helm
|
container: alpine/helm
|
||||||
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user