|
|
|
@ -84,7 +84,7 @@ jobs: |
|
|
|
|
|
|
|
|
|
|
|
########## Login to Docker registries ########## |
|
|
|
########## Login to Docker registries ########## |
|
|
|
- name: Login to Azure - Prod Subscription |
|
|
|
- name: Login to Azure - Prod Subscription |
|
|
|
uses: Azure/login@92a5484dfaf04ca78a94597f4f19fea633851fa2 # v1.4.7 |
|
|
|
uses: Azure/login@e15b166166a8746d1a47596803bd8c1b595455cf # v1.6.0 |
|
|
|
with: |
|
|
|
with: |
|
|
|
creds: ${{ secrets.AZURE_PROD_KV_CREDENTIALS }} |
|
|
|
creds: ${{ secrets.AZURE_PROD_KV_CREDENTIALS }} |
|
|
|
|
|
|
|
|
|
|
|
@ -92,7 +92,7 @@ jobs: |
|
|
|
run: az acr login -n bitwardenprod |
|
|
|
run: az acr login -n bitwardenprod |
|
|
|
|
|
|
|
|
|
|
|
- name: Login to Azure - CI Subscription |
|
|
|
- name: Login to Azure - CI Subscription |
|
|
|
uses: Azure/login@92a5484dfaf04ca78a94597f4f19fea633851fa2 # v1.4.7 |
|
|
|
uses: Azure/login@e15b166166a8746d1a47596803bd8c1b595455cf # v1.6.0 |
|
|
|
with: |
|
|
|
with: |
|
|
|
creds: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }} |
|
|
|
creds: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }} |
|
|
|
|
|
|
|
|
|
|
|
@ -146,7 +146,7 @@ jobs: |
|
|
|
path: 'server' |
|
|
|
path: 'server' |
|
|
|
|
|
|
|
|
|
|
|
- name: Build and push Docker image |
|
|
|
- name: Build and push Docker image |
|
|
|
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0 |
|
|
|
uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # v5.1.0 |
|
|
|
with: |
|
|
|
with: |
|
|
|
context: . |
|
|
|
context: . |
|
|
|
file: docker-unified/Dockerfile |
|
|
|
file: docker-unified/Dockerfile |
|
|
|
@ -184,7 +184,7 @@ jobs: |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
- name: Login to Azure - CI subscription |
|
|
|
- name: Login to Azure - CI subscription |
|
|
|
uses: Azure/login@92a5484dfaf04ca78a94597f4f19fea633851fa2 # v1.4.7 |
|
|
|
uses: Azure/login@e15b166166a8746d1a47596803bd8c1b595455cf # v1.6.0 |
|
|
|
if: failure() |
|
|
|
if: failure() |
|
|
|
with: |
|
|
|
with: |
|
|
|
creds: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }} |
|
|
|
creds: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }} |
|
|
|
|