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 }}
|
||||
- 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
|
||||
|
Loading…
Reference in New Issue
Block a user