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

main
nathan 2 weeks ago
parent 3ae0f38f40
commit 78640e8833

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

Loading…
Cancel
Save