|
|
|
|
@ -16,17 +16,17 @@ jobs:
@@ -16,17 +16,17 @@ jobs:
|
|
|
|
|
steps: |
|
|
|
|
- name: Checkout Branch |
|
|
|
|
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Login to Azure - Prod Subscription |
|
|
|
|
uses: Azure/login@1f63701bf3e6892515f1b7ce2d2bf1708b46beaf |
|
|
|
|
with: |
|
|
|
|
creds: ${{ secrets.AZURE_PROD_KV_CREDENTIALS }} |
|
|
|
|
creds: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }} |
|
|
|
|
|
|
|
|
|
- name: Retrieve secrets |
|
|
|
|
id: retrieve-secrets |
|
|
|
|
uses: bitwarden/gh-actions/get-keyvault-secrets@c3b3285993151c5af47cefcb3b9134c28ab479af |
|
|
|
|
with: |
|
|
|
|
keyvault: "bitwarden-prod-kv" |
|
|
|
|
keyvault: "bitwarden-ci" |
|
|
|
|
secrets: "github-gpg-private-key, github-gpg-private-key-passphrase" |
|
|
|
|
|
|
|
|
|
- name: Import GPG key |
|
|
|
|
@ -41,7 +41,7 @@ jobs:
@@ -41,7 +41,7 @@ jobs:
|
|
|
|
|
run: | |
|
|
|
|
git switch -c version_bump_${{ github.event.inputs.version_number }} |
|
|
|
|
git push -u origin version_bump_${{ github.event.inputs.version_number }} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Checkout Version Branch |
|
|
|
|
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 |
|
|
|
|
with: |
|
|
|
|
@ -58,7 +58,7 @@ jobs:
@@ -58,7 +58,7 @@ jobs:
|
|
|
|
|
git config --local user.email "106330231+bitwarden-devops-bot@users.noreply.github.com" |
|
|
|
|
git config --local user.name "bitwarden-devops-bot" |
|
|
|
|
git commit -m "Bumped version to ${{ github.event.inputs.version_number }}" -a |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Push changes |
|
|
|
|
run: git push -u origin version_bump_${{ github.event.inputs.version_number }} |
|
|
|
|
|
|
|
|
|
|