Skip to content

Commit

Permalink
edit: azure yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Clue355 committed Feb 5, 2024
1 parent 07aad38 commit 1db3511
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main_demoAzureApp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@ jobs:
- uses: actions/checkout@v4

- name: "Set up Docker Buildx"
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v2

- name: "Log in to GitHub container registry"
uses: docker/login-action@v3
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push container image to registry
uses: docker/build-push-action@v5.1.0
uses: docker/build-push-action@v4
with:
push: true
tags: ghcr.io/clue355/image:dev
Expand All @@ -62,7 +62,7 @@ jobs:

- name: "Deploy to Azure Web App"
id: deploy-to-webapp
uses: Azure/webapps-deploy@v3.0.0
uses: Azure/webapps-deploy@85270a1854658d167ab239bce43949edb336fa7c
with:
app-name: ${{ env.AZURE_WEBAPP_NAME }}
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
Expand Down

0 comments on commit 1db3511

Please sign in to comment.