Skip to content

Commit

Permalink
Update deploy-webapp.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
oaviles authored Aug 26, 2023
1 parent 6d952f1 commit db57887
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-webapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:
APP_NAME: oaappconfig
PREFIX: Pod1
APPCONFIG_CS: ${{ secrets.APPCONFIG_CS }}
IMAGE_ON_YAML: hereyourimage.azurecr.io/oawebappconfig
IMAGE_IN_YAML: hereyourimage.azurecr.io/oawebappconfig

jobs:
deploy-webapp:
Expand Down Expand Up @@ -58,5 +58,5 @@ jobs:
run: |-
# replacing the image name in the k8s template
cd yaml_files
./kustomize edit set image ${{ ENV.IMAGE_ON_YAML }}=${{ env.AZURE_CONTAINER_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}
./kustomize edit set image ${{ ENV.IMAGE_IN_YAML }}=${{ env.AZURE_CONTAINER_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}
./kustomize build . | kubectl apply -f -

0 comments on commit db57887

Please sign in to comment.