skip to Main Content

Custom Docker image on Git Lab Job cannot connect to localhost

I've created a very simple custom Docker image: FROM postgis/postgis:16-3.4-alpine ENV POSTGRES_USER=postgres ENV POSTGRES_PASSWORD=secret ENV POSTGRES_DB=lopost_test_db ENV PGDATA=/data/postgres ENV POSTGRES_HOST_AUTH_METHOD=trust Now I'm trying to run the following gitlab job test: image: $CI_REGISTRY_IMAGE/ci_test stage: test environment: name: Production script: - psql…

VIEW QUESTION

Docker Authentification: failed to fetch anonymous token

I got the following error inside my gitlab runner: ERROR: failed to authorize: failed to fetch anonymous token: Get "https://auth.ipv6.docker.com/token?scope=repository%3Alibrary%2Fnode%3Apull&service=registry.docker.io": dial tcp [2600:1f18:2148:bc02:4bf0:3a98:55ae:e3d5]:443: connect: cannot assign requested address see: https://docs.docker.com/registry/spec/auth/token/ Is there a way to change auth.ipv6.docker.com with auth.ipv4.docker.com somewhere…

VIEW QUESTION

Pull request build from Azure in Jenkins?

We are migrating our gitlab projects to AzureDevOps. Currently, our projects in gitlab are configured with a webhook, which triggers a jenkins build on every commmit. The jenkins build pipeline is written in groovy, and has a different flow when…

VIEW QUESTION
Back To Top
Search