Skip to content

Commit 2630feb

Browse files
committed
DRIVERS-3232 Fix second aws credential handling
1 parent 0e9d300 commit 2630feb

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

.github/workflows/update-action-tag.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,17 @@ jobs:
3232
aws_region_name: ${{ vars.AWS_REGION_NAME }}
3333
aws_secret_id: ${{ secrets.AWS_SECRET_ID }}
3434

35-
- name: Remove the existing tag
36-
run: |
37-
export VERSION=$(cat .github/workflows/version.txt)
38-
echo "VERSION=$VERSION" >> $GITHUB_ENV
39-
git push origin ":v${VERSION}" || true
40-
41-
- name: Create a new signed tag
42-
uses: ./git-sign
43-
with:
44-
command: git tag -a \"v${{ env.VERSION }}\" -m \"Update tag\" -s --local-user=${{ env.GPG_KEY_ID }}
45-
46-
- name: Push the tag
47-
run:
48-
git push origin --tags
35+
# - name: Remove the existing tag
36+
# run: |
37+
# export VERSION=$(cat .github/workflows/version.txt)
38+
# echo "VERSION=$VERSION" >> $GITHUB_ENV
39+
# git push origin ":v${VERSION}" || true
40+
41+
# - name: Create a new signed tag
42+
# uses: ./git-sign
43+
# with:
44+
# command: git tag -a \"v${{ env.VERSION }}\" -m \"Update tag\" -s --local-user=${{ env.GPG_KEY_ID }}
45+
46+
# - name: Push the tag
47+
# run:
48+
# git push origin --tags

setup/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ runs:
4040
role-to-assume: ${{ inputs.aws_role_arn }}
4141
role-session-name: release-session
4242
aws-region: ${{ inputs.aws_region_name }}
43+
unset-current-credentials: true
4344
- name: Read secrets from AWS Secrets Manager into environment variables
4445
uses: aws-actions/aws-secretsmanager-get-secrets@5e19ff380d035695bdd56bbad320ca535c9063f2 # v2
4546
with:

0 commit comments

Comments
 (0)