File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,19 @@ jobs:
117117 SLACK_BOT_TOKEN : " ${{ secrets.SLACK_BOT_TOKEN }}"
118118 SLACK_SIGNING_SECRET : " ${{ secrets.SLACK_SIGNING_SECRET }}"
119119
120+ - name : Debug AWS credentials inside Docker container
121+ run : |
122+ docker run --rm \
123+ -e AWS_ACCESS_KEY_ID=${{ steps.connect-aws.outputs.aws-access-key-id }} \
124+ -e AWS_SECRET_ACCESS_KEY=${{ steps.connect-aws.outputs.aws-secret-access-key }} \
125+ -e AWS_SESSION_TOKEN=${{ steps.connect-aws.outputs.aws-session-token }} \
126+ amazonlinux:2 \
127+ bash -c '
128+ echo "AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID" | tee -a /github-step-summary
129+ echo "AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY:0:4}***" | tee -a /github-step-summary
130+ echo "AWS_SESSION_TOKEN=${AWS_SESSION_TOKEN:0:8}***" | tee -a /github-step-summary
131+ '
132+
120133 - name : Show diff
121134 run : |
122135 docker run \
You can’t perform that action at this time.
0 commit comments