Browse Source

[BRE-831] Renaming azure login/get/logout step names

pull/216/head
Andy Pixley 6 months ago
parent
commit
be55fc58c9
No known key found for this signature in database
GPG Key ID: 4025C92FEDF5ED81
  1. 4
      .github/workflows/build.yml
  2. 4
      .github/workflows/publish.yml
  3. 4
      .github/workflows/release.yml
  4. 12
      .github/workflows/scan.yml
  5. 6
      .github/workflows/version-bump.yml

4
.github/workflows/build.yml

@ -53,7 +53,7 @@ jobs: @@ -53,7 +53,7 @@ jobs:
- name: Check out repo
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Azure Login
- name: Log in to Azure
id: azure-login
uses: bitwarden/gh-actions/azure-login@main
with:
@ -124,7 +124,7 @@ jobs: @@ -124,7 +124,7 @@ jobs:
fail-build: false
output-format: sarif
- name: Azure Logout
- name: Log out from Azure
uses: bitwarden/gh-actions/azure-logout@main
- name: Upload Grype results to GitHub

4
.github/workflows/publish.yml

@ -54,7 +54,7 @@ jobs: @@ -54,7 +54,7 @@ jobs:
- name: Install Cosign
uses: sigstore/cosign-installer@d7d6bc7722e3daa8354c50bcb52f4837da5e9b6a # v3.8.1
- name: Azure Login
- name: Log in to Azure
id: azure-login
uses: bitwarden/gh-actions/azure-login@main
with:
@ -121,5 +121,5 @@ jobs: @@ -121,5 +121,5 @@ jobs:
docker logout ghcr.io
docker logout $_AZ_REGISTRY
- name: Azure Logout
- name: Log out from Azure
uses: bitwarden/gh-actions/azure-logout@main

4
.github/workflows/release.yml

@ -84,7 +84,7 @@ jobs: @@ -84,7 +84,7 @@ jobs:
if: github.ref == 'refs/heads/main' && contains(needs.*.result, 'failure')
run: exit 1
- name: Azure Login
- name: Log in to Azure
id: azure-login
if: failure()
uses: bitwarden/gh-actions/azure-login@main
@ -101,7 +101,7 @@ jobs: @@ -101,7 +101,7 @@ jobs:
keyvault: "bitwarden-ci"
secrets: "devops-alerts-slack-webhook-url"
- name: Azure Logout
- name: Log out from Azure
if: failure()
uses: bitwarden/gh-actions/azure-logout@main

12
.github/workflows/scan.yml

@ -39,7 +39,7 @@ jobs: @@ -39,7 +39,7 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Azure Login
- name: Log in to Azure
id: azure-login
uses: bitwarden/gh-actions/azure-login@main
with:
@ -47,14 +47,14 @@ jobs: @@ -47,14 +47,14 @@ jobs:
tenant_id: ${{ secrets.AZURE_TENANT_ID }}
client_id: ${{ secrets.AZURE_CLIENT_ID }}
- name: Get KV secrets
- name: Get Azure Key Vault Secrets
id: get-kv-secrets
uses: bitwarden/gh-actions/get-keyvault-secrets@main
with:
keyvault: gh-org-bitwarden
secrets: "CHECKMARX-TENANT,CHECKMARX-CLIENT-ID,CHECKMARX-SECRET"
- name: Azure Logout
- name: Log out from Azure
uses: bitwarden/gh-actions/azure-logout@main
- name: Scan with Checkmarx
@ -107,7 +107,7 @@ jobs: @@ -107,7 +107,7 @@ jobs:
- name: Install SonarCloud scanner
run: dotnet tool install dotnet-sonarscanner -g
- name: Azure Login
- name: Log in to Azure
id: azure-login
uses: bitwarden/gh-actions/azure-login@main
with:
@ -115,14 +115,14 @@ jobs: @@ -115,14 +115,14 @@ jobs:
tenant_id: ${{ secrets.AZURE_TENANT_ID }}
client_id: ${{ secrets.AZURE_CLIENT_ID }}
- name: Get KV secrets
- name: Get Azure Key Vault Secrets
id: get-kv-secrets
uses: bitwarden/gh-actions/get-keyvault-secrets@main
with:
keyvault: gh-org-bitwarden
secrets: "SONAR-TOKEN"
- name: Azure Logout
- name: Log out from Azure
uses: bitwarden/gh-actions/azure-logout@main
- name: Scan with SonarCloud

6
.github/workflows/version-bump.yml

@ -41,7 +41,7 @@ jobs: @@ -41,7 +41,7 @@ jobs:
- name: Check out repo
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Azure Login
- name: Log in to Azure
id: azure-login
uses: bitwarden/gh-actions/azure-login@main
with:
@ -49,7 +49,7 @@ jobs: @@ -49,7 +49,7 @@ jobs:
tenant_id: ${{ secrets.AZURE_TENANT_ID }}
client_id: ${{ secrets.AZURE_CLIENT_ID }}
- name: Get KV secrets
- name: Get Azure Key Vault Secrets
id: get-kv-secrets
uses: bitwarden/gh-actions/get-keyvault-secrets@main
with:
@ -64,7 +64,7 @@ jobs: @@ -64,7 +64,7 @@ jobs:
secrets: "github-gpg-private-key,
github-gpg-private-key-passphrase"
- name: Azure Logout
- name: Log out from Azure
uses: bitwarden/gh-actions/azure-logout@main
- name: Import GPG key

Loading…
Cancel
Save