Skip to content

Commit

Permalink
Set namespace during deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
tschbc committed Sep 20, 2024
1 parent 1cf39f7 commit 3d3d0e7
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build-and-push-ghcr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,22 @@ jobs:
- name: Checkout the repository
uses: actions/checkout@v4

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

- name: 'YAML poke: Set APS namespace'
uses: fjogeleit/[email protected]
with:
valueFile: 'helm/values.yaml'
propertyPath: 'aps.namespace'
value: ${{ secrets.APS_NAMESPACE }}
commitChange: false

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

0 comments on commit 3d3d0e7

Please sign in to comment.