Skip to content

Commit

Permalink
chore: Fix remove cr url from image name
Browse files Browse the repository at this point in the history
  • Loading branch information
trossibip committed Jul 31, 2024
1 parent 9cb0d14 commit ec99f3e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/app_service_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
id-token: write
outputs:
image-tags: ${{ steps.meta.outputs.tags }}
image-version: ${{ steps.meta.ouputs.version }}

steps:

Expand Down Expand Up @@ -107,15 +108,17 @@ jobs:
with:
resource-group-name: ${{ env.RESOURCE_GROUP_NAME }}
app-name: ${{ env.APP_NAME }}
images: ${{ needs.build-and-push-image.outputs.image-tags }}
# images: ${{ needs.build-and-push-image.outputs.image-tags }}
images: ${{ env.IMAGE_NAME }}:${{ needs.build-and-push-image.outputs.image-version }}

- name: Deploy to Staging Slot
uses: azure/webapps-deploy@de617f46172a906d0617bb0e50d81e9e3aec24c8 # v3.0.1
if: ${{ github.event.inputs.use-staging-slot == 'true' }}
with:
resource-group-name: ${{ env.RESOURCE_GROUP_NAME }}
app-name: ${{ env.APP_NAME }}
images: ${{ needs.build-and-push-image.outputs.image-tags }}
# images: ${{ needs.build-and-push-image.outputs.image-tags }}
images: ${{ env.IMAGE_NAME }}:${{ needs.build-and-push-image.outputs.image-version }}
slot-name: staging

- name: Ping Staging Health
Expand Down

0 comments on commit ec99f3e

Please sign in to comment.