chore: Attempt different syntax to pass variables between jobs
This commit is contained in:
parent
7f08271a4e
commit
f592d75764
@ -54,7 +54,7 @@ jobs:
|
||||
image: djpbessems/spamasaurusrex
|
||||
username: ${{ secrets.GIT_USERNAME }}
|
||||
password: ${{ secrets.GIT_APIKEY }}
|
||||
tag: ${{ steps.sem_rel.outputs.version }}
|
||||
tag: ${{ needs.sem_rel.outputs.version }}
|
||||
|
||||
Helm chart:
|
||||
runs-on: dind-rootless
|
||||
@ -65,8 +65,8 @@ jobs:
|
||||
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
|
||||
sed -i 's/{{ image_tag }}/'${{ steps.sem_rel.outputs.version }}'/g' charts/spamasaurusrex/values.yaml
|
||||
sed -i 's/{{ chart_version }}/'${{ needs.sem_rel.outputs.version }}'/g' charts/spamasaurusrex/Chart.yaml
|
||||
sed -i 's/{{ image_tag }}/'${{ needs.sem_rel.outputs.version }}'/g' charts/spamasaurusrex/values.yaml
|
||||
- name: Install helm w/ plugins
|
||||
run: |
|
||||
curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | tee /usr/share/keyrings/helm.gpg > /dev/null
|
||||
|
Loading…
Reference in New Issue
Block a user