From 154d67c513656596241881f54440fc962397dad1 Mon Sep 17 00:00:00 2001 From: Travis Semple Date: Tue, 29 Oct 2024 15:16:29 -0700 Subject: [PATCH] Update backend-cd-ocp.yaml (#190) --- .github/workflows/backend-cd-ocp.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/backend-cd-ocp.yaml b/.github/workflows/backend-cd-ocp.yaml index 83a47c1a..04e55f47 100644 --- a/.github/workflows/backend-cd-ocp.yaml +++ b/.github/workflows/backend-cd-ocp.yaml @@ -120,7 +120,7 @@ jobs: SECRET_JSON=$(oc create secret generic ${SECRET_NAME} -n ${NAMESPACE} --from-env-file=.env --dry-run=client -o json) echo $SECRET_JSON | oc replace -f - oc patch secret ${SECRET_NAME} --type='json' -p='[{"op":"add","path":"/metadata/labels", "value":'$LABELS'}]' -n ${NAMESPACE} - oc patch secret ${SECRET_NAME} --type='json' -p='[{"op":"add","path":"/metadata/annotations", "value":'$ANNOTATIONS'}]' -n ${NAMESPACE} + oc patch secret ${SECRET_NAME} --type='json' -p='[{"op":"add","path":"/metadata/annotations", "value":'$ANNOTATIONS'}]' -n ${NAMESPACE} && rm .env - name: Build/push image if: ${{ needs.setup.outputs.TARGET == 'dev' }}