Skip to content

Commit c0b2d37

Browse files
authored
Fix formatting and permissions in workflow file
1 parent 6b01779 commit c0b2d37

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

.github/workflows/main_andre-emotion-app.yml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Log in to container registry
2525
uses: docker/login-action@v2
2626
with:
27-
registry: index.docker.io/
27+
registry: index.docker.io
2828
username: ${{ secrets.AZUREAPPSERVICE_CONTAINERUSERNAME_B4073360D65847249F5FB4CB38D98087 }}
2929
password: ${{ secrets.AZUREAPPSERVICE_CONTAINERPASSWORD_3C61B47018394C7DA55735691DACD110 }}
3030

@@ -38,20 +38,20 @@ jobs:
3838

3939
deploy:
4040
runs-on: ubuntu-latest
41-
permissions:
42-
id-token: write #This is required for requesting the JWT
43-
contents: read #This is required for actions/checkout
41+
permissions:
42+
id-token: write #This is required for requesting the JWT
43+
contents: read #This is required for actions/checkout
4444

4545
needs: build
4646

4747
steps:
48-
49-
- name: Login to Azure
50-
uses: azure/login@v2
51-
with:
52-
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_AF72259B2444479B9D4C55E5B709F9C1 }}
53-
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_95E26C4B93DE49CFAACC4E5118D6A90C }}
54-
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_E2DB3D22B4F3422993D7F11B8031EDA5 }}
48+
49+
- name: Login to Azure
50+
uses: azure/login@v2
51+
with:
52+
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_AF72259B2444479B9D4C55E5B709F9C1 }}
53+
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_95E26C4B93DE49CFAACC4E5118D6A90C }}
54+
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_E2DB3D22B4F3422993D7F11B8031EDA5 }}
5555

5656
- name: Deploy to Azure Web App
5757
id: deploy-to-webapp
@@ -60,4 +60,5 @@ jobs:
6060
app-name: 'andre-emotion-app'
6161
slot-name: 'Production'
6262
images: 'index.docker.io/${{ secrets.AZUREAPPSERVICE_CONTAINERUSERNAME_B4073360D65847249F5FB4CB38D98087 }}/emotion-app:${{ github.sha }}'
63-
63+
64+

0 commit comments

Comments
 (0)