diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6bcb3472..233f49b5 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 }}