Skip to content

Commit

Permalink
use AzCLI mechanisms
Browse files Browse the repository at this point in the history
  • Loading branch information
ghidalgo3 committed Apr 1, 2024
1 parent e15caeb commit 53da91c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,13 @@ jobs:
creds: '${{ secrets.AZURE_CREDENTIALS }}'

- name: Authenticate
uses: azure/cli@v2
env:
CLIENT_ID: ${{ fromJSON(secrets.AZURE_CREDENTIALS).clientId }}
CLIENT_SECRET: ${{ fromJSON(secrets.AZURE_CREDENTIALS).clientSecret }}
run: sudo ./scripts/ciauthenticate
with:
inlineScript: |
./scripts/ciauthenticate
- name: Run cibuild
run: ./scripts/cibuild
Expand All @@ -40,7 +43,10 @@ jobs:
esac

- name: Publish images
run: ./scripts/cipublish --acr pcccr --tag ${{steps.get_image_tag.outputs.tag}}
uses: azure/cli@v2
with:
inlineScript: |
./scripts/cipublish --acr pcccr --tag ${{steps.get_image_tag.outputs.tag}}
outputs:
image_tag: ${{ steps.get_image_tag.outputs.tag }}
Expand Down

0 comments on commit 53da91c

Please sign in to comment.