-
Notifications
You must be signed in to change notification settings - Fork 564
Open
Labels
Description
Description
I have problem when using docker/setup-buildx-action in github actions, I want to pull images by proxy, below is how I config the step:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
# https://docs.docker.com/build/drivers/kubernetes/
driver: kubernetes
driver-opts: |
image=moby/buildkit:master
namespace=github-runner
env.http_proxy=${{ env.http_proxy }}
env.https_proxy=${{ env.http_proxy }}
"env.no_proxy='${{ env.no_proxy }}'"
then this step failed with error msg ERROR: failed to initialize builder builder-9533dc36-0b24-49df-87d9-79100d58dcf0 (builder-9533dc36-0b24-49df-87d9-79100d58dcf00): invalid driver option env.NO_PROXY for driver kubernetes
.
Is it possible to add env support by --driver-opts of kubernetes driver like what have done in #170?