mirror of
https://github.com/bitwarden/server.git
synced 2025-05-10 06:02:24 -05:00
Change to Azure storage account
This commit is contained in:
parent
7601822fd4
commit
8a606c600c
27
.github/workflows/build.yml
vendored
27
.github/workflows/build.yml
vendored
@ -220,10 +220,10 @@ jobs:
|
|||||||
# - name: Login to PROD ACR
|
# - name: Login to PROD ACR
|
||||||
# run: az acr login -n ${_AZ_REGISTRY%.azurecr.io}
|
# run: az acr login -n ${_AZ_REGISTRY%.azurecr.io}
|
||||||
|
|
||||||
# - name: Login to Azure - CI Subscription
|
- name: Login to Azure - CI Subscription
|
||||||
# uses: Azure/login@92a5484dfaf04ca78a94597f4f19fea633851fa2 # v1.4.7
|
uses: Azure/login@92a5484dfaf04ca78a94597f4f19fea633851fa2 # v1.4.7
|
||||||
# with:
|
with:
|
||||||
# creds: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }}
|
creds: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }}
|
||||||
|
|
||||||
# - name: Retrieve github PAT secrets
|
# - name: Retrieve github PAT secrets
|
||||||
# id: retrieve-secret-pat
|
# id: retrieve-secret-pat
|
||||||
@ -258,10 +258,12 @@ jobs:
|
|||||||
# "GH_PAT=${{ steps.retrieve-secret-pat.outputs.github-pat-bitwarden-devops-bot-repo-scope }}"
|
# "GH_PAT=${{ steps.retrieve-secret-pat.outputs.github-pat-bitwarden-devops-bot-repo-scope }}"
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
|
run: |
|
||||||
with:
|
az storage blob upload \
|
||||||
name: build
|
--file /tmp/build.tar \
|
||||||
path: /tmp/build.tar
|
--container-name builds \
|
||||||
|
--name build \
|
||||||
|
--account-name dockerimagetest
|
||||||
|
|
||||||
build-docker:
|
build-docker:
|
||||||
name: Build Docker images
|
name: Build Docker images
|
||||||
@ -380,6 +382,15 @@ jobs:
|
|||||||
name: build
|
name: build
|
||||||
path: /tmp
|
path: /tmp
|
||||||
|
|
||||||
|
- name: Download build image artifact
|
||||||
|
run: |
|
||||||
|
az storage blob download \
|
||||||
|
--file /tmp/build.tar \
|
||||||
|
--container-name builds \
|
||||||
|
--name build \
|
||||||
|
--account-name dockerimagetest
|
||||||
|
ls -alh /tmp
|
||||||
|
|
||||||
- name: Load build image
|
- name: Load build image
|
||||||
run: |
|
run: |
|
||||||
docker load --input /tmp/build.tar
|
docker load --input /tmp/build.tar
|
||||||
|
Loading…
x
Reference in New Issue
Block a user