mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-15 12:15:50 +00:00
changing position of actions
This commit is contained in:
parent
d5f579cbd7
commit
8734f120d6
1 changed files with 6 additions and 7 deletions
13
.github/workflows/maven-build.yml
vendored
13
.github/workflows/maven-build.yml
vendored
|
@ -49,6 +49,12 @@ jobs:
|
||||||
registry: ${{ vars.ACR_NAME }}.azurecr.io
|
registry: ${{ vars.ACR_NAME }}.azurecr.io
|
||||||
username: ${{ secrets.AZURE_CLIENT_ID }}
|
username: ${{ secrets.AZURE_CLIENT_ID }}
|
||||||
password: ${{ secrets.AZURE_CLIENT_SECRET }}
|
password: ${{ secrets.AZURE_CLIENT_SECRET }}
|
||||||
|
|
||||||
|
|
||||||
|
- uses: azure/login@v2
|
||||||
|
name: Azure Login
|
||||||
|
with:
|
||||||
|
creds: '{"clientId":"${{ secrets.AZURE_CLIENT_ID }}","clientSecret":"${{ secrets.AZURE_CLIENT_SECRET }}","subscriptionId":"${{ secrets.AZURE_SUBSCRIPTION_ID }}","tenantId":"${{ secrets.AZURE_TENANT_ID }}"}'
|
||||||
|
|
||||||
- name: Docker Build and push
|
- name: Docker Build and push
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
|
@ -59,13 +65,6 @@ jobs:
|
||||||
grid-capstone-${{ github.sha }}
|
grid-capstone-${{ github.sha }}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- uses: azure/login@v2
|
|
||||||
name: Azure Login
|
|
||||||
with:
|
|
||||||
creds: '{"clientId":"${{ secrets.AZURE_CLIENT_ID }}","clientSecret":"${{ secrets.AZURE_CLIENT_SECRET }}","subscriptionId":"${{ secrets.AZURE_SUBSCRIPTION_ID }}","tenantId":"${{ secrets.AZURE_TENANT_ID }}"}'
|
|
||||||
|
|
||||||
- name: Getting access to the cluster
|
- name: Getting access to the cluster
|
||||||
run: |
|
run: |
|
||||||
az aks get-credentials --resource-group grid-capstone --name dev-grid-cluster --admin --overwrite-existing
|
az aks get-credentials --resource-group grid-capstone --name dev-grid-cluster --admin --overwrite-existing
|
||||||
|
|
Loading…
Reference in a new issue