From 280b3d121cc4641b48a922da9204163a70f0423d Mon Sep 17 00:00:00 2001 From: joshimai Date: Thu, 1 Aug 2024 13:45:13 -0400 Subject: [PATCH] add AZURITE_DEFAULT_KEY to workflows --- .github/workflows/cicd.yml | 6 ++++++ .github/workflows/pr.yml | 3 +++ 2 files changed, 9 insertions(+) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index ea8068ec..60a6c99c 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -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 @@ -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}} diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 34629bd8..387c8cf4 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -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