|
20 | 20 | outputs:
|
21 | 21 | version: ${{ steps.get-version.outputs.version }}
|
22 | 22 | steps:
|
| 23 | + - name: Login to Azure - CI Subscription |
| 24 | + uses: Azure/login@e15b166166a8746d1a47596803bd8c1b595455cf # v1.6.0 |
| 25 | + with: |
| 26 | + creds: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }} |
| 27 | + |
| 28 | + - name: Retrieve secrets |
| 29 | + id: retrieve-secrets |
| 30 | + uses: bitwarden/gh-actions/get-keyvault-secrets@main |
| 31 | + with: |
| 32 | + keyvault: "bitwarden-ci" |
| 33 | + secrets: "github-gpg-private-key, |
| 34 | + github-gpg-private-key-passphrase, |
| 35 | + github-pat-bitwarden-devops-bot-repo-scope" |
| 36 | + |
23 | 37 | - name: Check out repo
|
24 | 38 | uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
| 39 | + with: |
| 40 | + fetch-depth: 0 |
| 41 | + token: ${{ steps.retrieve-secrets.outputs.github-pat-bitwarden-devops-bot-repo-scope }} |
25 | 42 |
|
26 | 43 | - name: Set up Python
|
27 | 44 | uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
|
|
43 | 60 | VERSION=$(hatch version)
|
44 | 61 | echo "version=$VERSION" >> $GITHUB_OUTPUT
|
45 | 62 |
|
46 |
| - - name: Login to Azure - CI Subscription |
47 |
| - uses: Azure/login@e15b166166a8746d1a47596803bd8c1b595455cf # v1.6.0 |
48 |
| - with: |
49 |
| - creds: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }} |
50 |
| - |
51 |
| - - name: Retrieve secrets |
52 |
| - id: retrieve-secrets |
53 |
| - uses: bitwarden/gh-actions/get-keyvault-secrets@main |
54 |
| - with: |
55 |
| - keyvault: "bitwarden-ci" |
56 |
| - secrets: "github-gpg-private-key, |
57 |
| - github-gpg-private-key-passphrase, |
58 |
| - github-pat-bitwarden-devops-bot-repo-scope" |
59 |
| - |
60 | 63 | - name: Import GPG key
|
61 | 64 | uses: crazy-max/ghaction-import-gpg@01dd5d3ca463c7f10f7f4f7b4f177225ac661ee4 # v6.1.0
|
62 | 65 | with:
|
|
0 commit comments