force revision on deploy
This commit is contained in:
11
.github/workflows/deploy.yml
vendored
11
.github/workflows/deploy.yml
vendored
@@ -74,10 +74,7 @@ jobs:
|
||||
context: ./web
|
||||
push: true
|
||||
tags: ${{ env.FRONTEND_IMAGE }}:latest
|
||||
build-args: |
|
||||
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=${{ secrets.NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY }}
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
no-cache: true
|
||||
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -105,11 +102,13 @@ jobs:
|
||||
az containerapp update \
|
||||
--name ${{ secrets.AZURE_BACKEND_APP_NAME }} \
|
||||
--resource-group ${{ secrets.AZURE_RESOURCE_GROUP }} \
|
||||
--image ${{ env.BACKEND_IMAGE }}:latest
|
||||
--image ${{ env.BACKEND_IMAGE }}:latest \
|
||||
--revision-suffix r${{ github.run_number }}
|
||||
|
||||
- name: Deploy frontend
|
||||
run: |
|
||||
az containerapp update \
|
||||
--name ${{ secrets.AZURE_FRONTEND_APP_NAME }} \
|
||||
--resource-group ${{ secrets.AZURE_RESOURCE_GROUP }} \
|
||||
--image ${{ env.FRONTEND_IMAGE }}:latest
|
||||
--image ${{ env.FRONTEND_IMAGE }}:latest \
|
||||
--revision-suffix r${{ github.run_number }}
|
||||
|
||||
Reference in New Issue
Block a user