Skip to content

Commit

Permalink
feat: Setup buildx behind proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
snowdream committed Nov 11, 2024
1 parent 40125df commit 3e3f829
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
driver-opts: |
env.http_proxy=${{ env.http_proxy }}
env.https_proxy=${{ env.http_proxy }}
env.no_proxy=${{ env.no_proxy }}
"env.no_proxy='${{ env.no_proxy}}'"
- name: Login to DockerHub
uses: docker/[email protected]
with:
Expand Down Expand Up @@ -116,9 +116,8 @@ jobs:
with:
context: .
build-args: |
http_proxy=${{ env.http_proxy }}
https_proxy=${{ env.http_proxy }}
env.no_proxy=${{ env.no_proxy }}
"http_proxy=${{ env.http_proxy }}"
"https_proxy=${{ env.http_proxy }}"
BUILDTIME=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.created'] }}
VERSION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
REVISION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.revision'] }}
Expand Down

0 comments on commit 3e3f829

Please sign in to comment.