I'm trying to get the helloworld sample to run. Problem is my company using a MITM proxy that replaces all certs on https connections with its own. So all tools that try to go to an https url fail.
In this case it is the code that downloads a Docker image from the official registry:
resource script '/opt/resource/check []' failed: exit status 1 stderr: failed to ping registry: 2 error(s) occurred: * ping https: Get https://registry-1.docker.io/v2/: x509: certificate signed by unknown authority * ping http: Get https://registry-1.docker.io/v2/: x509: certificate signed by unknown authority I tried to add the insecure_registries option but that doesn't seem to work:
jobs: - name: hello-world plan: - task: say-hello config: platform: linux image_resource: type: docker-image source: repository: ubuntu, insecure_registries: ["docker.io:80"] run: path: echo args: ["Hello, world!"] Any ideas what I might be doing wrong?