Skip to content

Commit

Permalink
add AZURITE_DEFAULT_KEY to workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
joshimai committed Aug 1, 2024
1 parent 21c42f8 commit 280b3d1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
tenant-id: ${{ fromJSON(secrets.SECURE_AZURE_CREDENTIALS).tenantId }}
subscription-id: ${{ fromJSON(secrets.SECURE_AZURE_CREDENTIALS).subscriptionId }}

- name: Set Azurite Default Key
run: echo "AZURITE_DEFAULT_KEY=${{ secrets.AZURITE_DEFAULT_KEY }}" >> $GITHUB_ENV

- name: Authenticate
run: ./scripts/ciauthenticate

Expand All @@ -44,6 +47,9 @@ jobs:
;;
esac

- name: Use Azurite Default Key
run: echo "Using Azurite default key: $AZURITE_DEFAULT_KEY"

- name: Publish images
run: ./scripts/cipublish --acr ${{steps.get_image_tag.outputs.acr}} --tag ${{steps.get_image_tag.outputs.tag}}

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:

steps:
- uses: actions/checkout@v3

- name: Set Azurite Default Key
run: echo "AZURITE_DEFAULT_KEY=${{ secrets.AZURITE_DEFAULT_KEY }}" >> $GITHUB_ENV

- name: Run cibuild
run: ./scripts/cibuild
Expand Down

0 comments on commit 280b3d1

Please sign in to comment.