File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
content/manuals/scout/integrations/ci Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ stages:
5555 # Install the Docker Scout CLI
5656 curl -sSfL https://raw.githubusercontent.com/docker/scout-cli/main/install.sh | sh -s --
5757 # Login to Docker Hub required for Docker Scout CLI
58- docker login -u $(DOCKER_HUB_USER) -p $(DOCKER_HUB_PAT)
58+ echo $(DOCKER_HUB_PAT) | docker login -u $(DOCKER_HUB_USER) --password-stdin
5959 # Get a CVE report for the built image and fail the pipeline when critical or high CVEs are detected
6060 docker scout cves $(image):$(tag) --exit-code --only-severity critical,high
6161` ` `
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ docker-build:
3434 apk del curl
3535 rm -rf /var/cache/apk/*
3636 # Login to Docker Hub required for Docker Scout CLI
37- - docker login -u "$DOCKER_HUB_USER" -p "$DOCKER_HUB_PAT"
37+ - echo "$DOCKER_HUB_PAT" | docker login -u "$DOCKER_HUB_USER" --password-stdin
3838` ` `
3939
4040This sets up the workflow to build Docker images with Docker-in-Docker mode,
You can’t perform that action at this time.
0 commit comments