Skip to content

Commit acee1d0

Browse files
committed
Change method of password input to docker login.
Change how the password is being passed to the docker login command to avoid some security issues associated with the logging of the password to the shell history or logs.
1 parent cb9f69a commit acee1d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release-packages.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,5 +225,5 @@ jobs:
225225
run: docker build -t "$IMAGE_TAG" .
226226
- name: Push docker image to DockerHub
227227
run: |
228-
docker login --username=dbcicprover --password=${{ secrets.DOCKERHUB_ACCESS_DB_CI_CPROVER }}
228+
echo ${{ secrets.DOCKERHUB_ACCESS_DB_CI_CPROVER }} | docker login --username=dbcicprover --password-stdin
229229
docker image push "$IMAGE_TAG"

0 commit comments

Comments
 (0)