Update '.gitea/workflows/build-push.yaml'
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user