From 3d3d0e7e40af0bca2af94e8e3440702c70b34660 Mon Sep 17 00:00:00 2001 From: Todd Scharien Date: Fri, 20 Sep 2024 15:08:43 -0700 Subject: [PATCH] Set namespace during deploy --- .github/workflows/build-and-push-ghcr.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-push-ghcr.yaml b/.github/workflows/build-and-push-ghcr.yaml index c30bbf9..f9f8109 100644 --- a/.github/workflows/build-and-push-ghcr.yaml +++ b/.github/workflows/build-and-push-ghcr.yaml @@ -60,7 +60,7 @@ jobs: - name: Checkout the repository uses: actions/checkout@v4 - - name: Set image tag in values.yaml + - name: 'YAML poke: Set image tag' uses: fjogeleit/yaml-update-action@v0.15.0 with: valueFile: 'helm/values.yaml' @@ -68,6 +68,14 @@ jobs: value: ${{ github.ref_name }} commitChange: false + - name: 'YAML poke: Set APS namespace' + uses: fjogeleit/yaml-update-action@v0.15.0 + 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: