Skip to content

Commit 996ed0e

Browse files
Merge pull request #5 from e0ne/goproxy-mlnx
feat: add support for image building with a custom GOPROXY
2 parents 652d0a5 + 4e4df44 commit 996ed0e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/fork-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,4 @@ jobs:
3030
registry-username: ${{ secrets.NVCR_USERNAME }}
3131
registry-token: ${{ secrets.NVCR_TOKEN }}
3232
cicd-gh-token: ${{ secrets.GH_TOKEN_NVIDIA_CI_CD }}
33+
goproxy: ${{ secrets.GO_PROXY_URL }}

Dockerfile.nvidia

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
FROM golang:alpine as builder
22

3+
ARG GOPROXY
4+
ENV GOPROXY=$GOPROXY
5+
36
COPY . /usr/src/rdma-cni
47

58
ENV HTTP_PROXY $http_proxy

0 commit comments

Comments
 (0)