mirror of
https://github.com/bitwarden/server.git
synced 2024-12-25 17:27:45 +01:00
Update workflows for SCIM support (#2133)
This commit is contained in:
parent
ac183363bd
commit
f736008cb3
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -237,6 +237,7 @@ jobs:
|
||||
base_path: ./bitwarden_license/src
|
||||
docker_repos: [bitwarden, bitwardenqa.azurecr.io]
|
||||
dotnet: true
|
||||
skip_dct: true
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
|
||||
@ -341,6 +342,7 @@ jobs:
|
||||
&& (github.ref == 'refs/heads/master' ||
|
||||
github.ref == 'refs/heads/rc' ||
|
||||
github.ref == 'refs/heads/hotfix-rc')
|
||||
&& (!matrix.skip_dct)
|
||||
env:
|
||||
DCT_DELEGATION_KEY_ID: "c9bde8ec820701516491e5e03d3a6354e7bd66d05fa3df2b0062f68b116dc59c"
|
||||
DCT_DELEGATE_KEY: ${{ steps.retrieve-secrets.outputs.dct-delegate-2-key }}
|
||||
|
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@ -166,6 +166,7 @@ jobs:
|
||||
- service_name: Setup
|
||||
- service_name: Sso
|
||||
- service_name: Scim
|
||||
skip_dct: true
|
||||
steps:
|
||||
- name: Print environment
|
||||
env:
|
||||
@ -196,6 +197,15 @@ jobs:
|
||||
azure-creds: ${{ secrets.AZURE_PROD_KV_CREDENTIALS }}
|
||||
azure-keyvault-name: "bitwarden-prod-kv"
|
||||
|
||||
- name: Check for DCT value
|
||||
id: check-matrix-dct
|
||||
run: |
|
||||
if [[ "${{ matrix.skip_dct }}" == "true" ]]; then
|
||||
echo "::set-output name=dct_enabled::0"
|
||||
else
|
||||
echo "::set-output name=dct_enabled::1"
|
||||
fi
|
||||
|
||||
- name: Pull latest selfhost image
|
||||
env:
|
||||
SERVICE_NAME: ${{ steps.setup.outputs.service_name }}
|
||||
@ -219,7 +229,7 @@ jobs:
|
||||
- name: Push version and latest image
|
||||
if: ${{ github.event.inputs.release_type != 'Dry Run' }}
|
||||
env:
|
||||
DOCKER_CONTENT_TRUST: 1
|
||||
DOCKER_CONTENT_TRUST: ${{ steps.check-matrix-dct.outputs.dct_enabled }}
|
||||
DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE: ${{ steps.setup-dct.outputs.dct-delegate-repo-passphrase }}
|
||||
SERVICE_NAME: ${{ steps.setup.outputs.service_name }}
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user