1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-24 14:26:38 -05:00

Add storage account upload test

This commit is contained in:
Vince Grassia 2023-11-15 14:07:59 -05:00
parent 8a606c600c
commit d1bcdf2283
No known key found for this signature in database
GPG Key ID: 9AD7505E8448CC08

View File

@ -225,12 +225,23 @@ jobs:
with: with:
creds: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }} creds: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }}
# - name: Retrieve github PAT secrets - name: Retrieve Storage Account secret
# id: retrieve-secret-pat id: retrieve-secret
# uses: bitwarden/gh-actions/get-keyvault-secrets@main uses: bitwarden/gh-actions/get-keyvault-secrets@main
# with: with:
# keyvault: "bitwarden-ci" keyvault: "bitwarden-ci"
# secrets: "github-pat-bitwarden-devops-bot-repo-scope" secrets: "storage-account-dockerimagetest-conn-string"
- name: TEST - Upload artifact
run: |
echo "Test file" > /tmp/test.txt
az storage blob upload \
--file /tmp/test.txt \
--container-name builds \
--name build \
--connection-string ${{ steps.retrieve-secret.outputs.storage-account-dockerimagetest-conn-string}}
# - name: Generate image full name # - name: Generate image full name
# id: image-name # id: image-name