Skip to content

Commit

Permalink
Update backend-cd-ocp.yaml (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
seeker25 authored Oct 29, 2024
1 parent 0aedaea commit 154d67c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/backend-cd-ocp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
Expand Down

0 comments on commit 154d67c

Please sign in to comment.