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