I set log_level = “debug” in config.toml, but no additional messages are sent. Is it possible to get more detailed logging from gitlab-runner (on Docker) ?
The AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY are set in the CI/CD variables, and they are unprotected. Actual behavior eval (aws ecr get-login -region us-east-1) Flag -email has been. how do you translate the following param -with-registry-auth in the docker compose v3 file i’m able to create a service from the cmd line but i had no success with docker-compose v3. In this case I initially couldn’t understand the error, as the Jenkins declarative pipeline was using a docker.
I have built and installed the docker-credential-ecr-login binary as described, version 0.4.0, this is in the gitlab-runner user $PATH and it can run from the command line. Expected behavior would like to know how to pull an image from an aws ecr repo while running a doker stack deploy cmd. The error on push was a familiar no basic auth credentials which means some issue with the credentials stored in /.docker/config.cfg (or perhaps /.dockercfg in earlier versions).
aws/credentials then a “docker pull” as a normal user on my runner machine can pull the image from Amazon’s ECR registry. If the daemon.json file does not exist, create it. I can confirm that I have an appropriate IAM user, and if I just place that user’s credentials in. If you use Docker Desktop for Mac or Docker Desktop for Windows, click the Docker icon, choose Preferences (Mac) or Settings (Windows), and choose Docker Engine. I’ am currently using secret values for example to storing mongodb credentials and there is no problem. But it gets this error (three times, then gives up): Pulling docker image /regression-test/ddbuilder:20210303ĮRROR: Preparation failed: Error response from daemon: Get no basic auth credentials (docker.go:198:5s) The issue is that if I try to store mongo-express basic auth credentials in secret object this credentials are no longer valid so I cannot sign in to mongo-express UI.