Update '.gitea/workflows/build-push.yaml'

main
nathan 2 weeks ago
parent 3ae0f38f40
commit 78640e8833

@ -42,21 +42,19 @@ jobs:
repository: wagshome/rgbboard
token: ${{ secrets.runner_deploy }}
path: rgbboard
- name: Set up Git
run: |
git config --global user.name "Gitea Actions"
git config --global user.email "actions@nope.com"
- name: Install yq
uses: https://github.com/chrisdickinson/setup-yq@v1.0.0
- run: which yq
- run: yq --help
with:
yq-version: v4.45.4
- name: Update values.yaml
run: |
yq -i \'.image.tag = env.SHORT_SHA\' rgbboard/rgbboard/values.yaml
yq -i '.image.tag = env(SHORT_SHA)' rgbboard/rgbboard/values.yaml
env:
SHORT_SHA: ${{ steps.short_sha.outputs.short_sha }}
SHORT_SHA: ${{ steps.short-sha.outputs.short-sha }}
- name: Commit and Push changes
run: |
cd repo

Loading…
Cancel
Save