Skip to content

Commit 69dd3af

Browse files
committed
add aws secrets
1 parent a7e6e29 commit 69dd3af

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/grype_scan.yml

+5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ on:
1515
description: 'Docker image. If no tag, it will be determined by version_helper.py'
1616
required: true
1717
type: string
18+
env:
19+
PYTHONUNBUFFERED: 1
20+
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
21+
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
22+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
1823

1924
jobs:
2025
grype_scan:

.github/workflows/release_branches.yml

+2
Original file line numberDiff line numberDiff line change
@@ -174,12 +174,14 @@ jobs:
174174
needs: [RunConfig, DockerServerImage]
175175
if: ${{ !failure() && !cancelled() }}
176176
uses: ./.github/workflows/grype_scan.yml
177+
secrets: inherit
177178
with:
178179
docker_image: "altinityinfra/clickhouse-server:${{ github.event.pull_request.number || 0 }}-${{ fromJson(needs.RunConfig.outputs.data).version }}"
179180
GrypeScanKeeperImage:
180181
needs: [RunConfig, DockerKeeperImage]
181182
if: ${{ !failure() && !cancelled() }}
182183
uses: ./.github/workflows/grype_scan.yml
184+
secrets: inherit
183185
with:
184186
docker_image: "altinityinfra/clickhouse-keeper:${{ github.event.pull_request.number || 0 }}-${{ fromJson(needs.RunConfig.outputs.data).version }}"
185187
############################################################################################

0 commit comments

Comments
 (0)