vegardit / docker-gitea-act-runner

Docker image based on debian:stable-slim to run Gitea's act_runner as a Docker container
https://buymeacoffee.com/vegardit
Apache License 2.0
164 stars 16 forks source link

Insecure registries using dind #65

Open lyleubben opened 5 hours ago

lyleubben commented 5 hours ago

I was trying to do a POC on a local private network without SSL. Using docker out of docker works because I added the insecure registry to the host docker json. When using DIND though I can't get it to set the insecure registry.

I tried adding a build step

    - name: Set up Docker Buildx
      uses: docker/setup-buildx-action@v3
      with:
        cache-binary: false
        config-inline: |
          [registry."localip:port"]
            http = true
            insecure = true

but the output only shows:

Insecure Registries: 127.0.0.0/8 Live Restore Enabled: false

Do you know where the docker json is stored on the embedded docker in the runner image so I can add the insecure registry?