Skip to content

Commit 2b0eb7e

Browse files
authored
build(e2e): use --password-stdin flag for docker login (#3141)
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the Apache 2.0 License.
1 parent e921429 commit 2b0eb7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.release/buildspec_e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ phases:
140140
- 'goenv global 1.17.1'
141141
pre_build:
142142
commands:
143-
- docker login -u ${DOCKERHUB_USERNAME} -p ${DOCKERHUB_TOKEN}
143+
- printenv DOCKERHUB_TOKEN | docker login --username ${DOCKERHUB_USERNAME} --password-stdin
144144
build:
145145
commands:
146146
- cd $CODEBUILD_SRC_DIR

0 commit comments

Comments
 (0)