Skip to content

Commit

Permalink
Set image tag by ref_name
Browse files Browse the repository at this point in the history
  • Loading branch information
tschbc committed Sep 19, 2024
1 parent 5bafe62 commit a8b5ba4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build-and-push-ghcr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,14 @@ jobs:
- name: Checkout the repository
uses: actions/checkout@v4

- name: Set image tag in values.yaml
uses: fjogeleit/[email protected]
with:
valueFile: 'helm/values.yaml'
propertyPath: 'image.tag'
value: ${{ github.ref_name }}
commitChange: false

- name: Authenticate with OpenShift
uses: redhat-actions/oc-login@v1
with:
Expand Down

0 comments on commit a8b5ba4

Please sign in to comment.