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:
parent
8a606c600c
commit
d1bcdf2283
23
.github/workflows/build.yml
vendored
23
.github/workflows/build.yml
vendored
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user