Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support http_proxy when pull tonistiigi/binfmt image #194

Closed
seepine opened this issue Jan 27, 2025 · 2 comments
Closed

Support http_proxy when pull tonistiigi/binfmt image #194

seepine opened this issue Jan 27, 2025 · 2 comments

Comments

@seepine
Copy link

seepine commented Jan 27, 2025

Description

I'm not sure if it is currently supported. I hope that, similar to the build process, proxy configuration can be supported.

eg docker/setup-buildx-action

    - name: Set up Docker BuildX
      uses: docker/setup-buildx-action@v3
      with:
        driver-opts: |
          env.http_proxy=${{ env.http_proxy }}
          env.https_proxy=${{ env.https_proxy }}
          "env.no_proxy='${{ env.no_proxy }}'"

eg docker/build-push-action

    - name: Build and push
      uses: docker/build-push-action@v4
      with:
        context: .
        file: Dockerfile
        tags: demo/app:latest
        build-args: |
            "http_proxy='${{ env.http_proxy }}'"
            "https_proxy='${{ env.https_proxy }}'"
@crazy-max
Copy link
Member

This action uses docker pull command to pull the image so it should work if you configure proxies in docker client config https://docs.docker.com/engine/cli/proxy/#configure-the-docker-client.

@seepine
Copy link
Author

seepine commented Jan 27, 2025

thanks

@seepine seepine closed this as completed Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants