1
0
mirror of https://github.com/bitwarden/server synced 2026-01-07 19:13:50 +00:00

[DEVOPS-1211] Push docker only to bitwardenprod ACR (#2695)

* Push docker only to prod ACR

* Remove matrix in container registry purge
This commit is contained in:
Michał Chęciński
2023-02-15 11:45:46 +01:00
committed by GitHub
parent 8138db396b
commit b44ff27d3a
5 changed files with 31 additions and 115 deletions

View File

@@ -14,18 +14,18 @@ jobs:
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
########## ACR ##########
- name: Login to Azure - QA Subscription
- name: Login to Azure - PROD Subscription
uses: Azure/login@77f1b2e3fb80c0e8645114159d17008b8a2e475a
with:
creds: ${{ secrets.AZURE_QA_KV_CREDENTIALS }}
creds: ${{ secrets.AZURE_PROD_KV_CREDENTIALS }}
- name: Login to Azure ACR
run: az acr login -n bitwardenqa
run: az acr login -n bitwardenprod
########## Remove Docker images ##########
- name: Remove the docker image from ACR
env:
REGISTRY_NAME: bitwardenqa
REGISTRY_NAME: bitwardenprod
SERVICES: |
services:
- Admin