mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-15 12:15:50 +00:00
Final pipeline version
This commit is contained in:
parent
0a4ad8e504
commit
efdcff24e5
1 changed files with 8 additions and 1 deletions
9
.github/workflows/maven-build.yml
vendored
9
.github/workflows/maven-build.yml
vendored
|
@ -34,7 +34,7 @@ jobs:
|
||||||
- name: Upload JAR artifact
|
- name: Upload JAR artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: app-protector
|
name: grid-capstone
|
||||||
path: ./target/*.jar
|
path: ./target/*.jar
|
||||||
|
|
||||||
|
|
||||||
|
@ -87,6 +87,13 @@ jobs:
|
||||||
with:
|
with:
|
||||||
creds: '{"clientId":"${{ secrets.AZURE_CLIENT_ID }}","clientSecret":"${{ secrets.AZURE_CLIENT_SECRET }}","subscriptionId":"${{ secrets.AZURE_SUBSCRIPTION_ID }}","tenantId":"${{ secrets.AZURE_TENANT_ID }}"}'
|
creds: '{"clientId":"${{ secrets.AZURE_CLIENT_ID }}","clientSecret":"${{ secrets.AZURE_CLIENT_SECRET }}","subscriptionId":"${{ secrets.AZURE_SUBSCRIPTION_ID }}","tenantId":"${{ secrets.AZURE_TENANT_ID }}"}'
|
||||||
|
|
||||||
|
- uses: actions/download-artifact@v4
|
||||||
|
name: Copy artifact from build job
|
||||||
|
with:
|
||||||
|
name: grid-capstone
|
||||||
|
path: ./target/*.jar
|
||||||
|
|
||||||
|
|
||||||
- name: Docker Build and push
|
- name: Docker Build and push
|
||||||
run: |
|
run: |
|
||||||
az acr login --name ${{ vars.ACR_NAME }}
|
az acr login --name ${{ vars.ACR_NAME }}
|
||||||
|
|
Loading…
Reference in a new issue