Skip to content

Commit 3a6b498

Browse files
committed
gha: remove hard-coded dockerhub username
Change the secret being fetched by a new one that is named following our secret naming guidelines In addition, remove hard-coded username to allow easy change in the future of this value
1 parent 1260ede commit 3a6b498

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docker-image.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- uses: aws-actions/aws-secretsmanager-get-secrets@v2
2020
with:
2121
secret-ids: |
22-
,sdlc/prod/github/dockerhub_token
22+
,sdlc/prod/github/dockerhub
2323
parse-json-secrets: true
2424
- uses: actions/checkout@v4
2525
- uses: docker/setup-qemu-action@v3
@@ -45,7 +45,7 @@ jobs:
4545
type=semver,pattern={{raw}}
4646
- uses: docker/login-action@v3
4747
with:
48-
username: vectorizedbot
48+
username: ${{ env.DOCKERHUB_USER }}
4949
password: ${{ env.DOCKERHUB_TOKEN }}
5050
- uses: docker/build-push-action@v6
5151
with:

0 commit comments

Comments
 (0)