[workflow] update docker build workflow to use proxy (#1334)

This commit is contained in:
Frank Lee
2022-07-18 14:09:41 +08:00
committed by GitHub
parent 75abc75c15
commit 11d1436a67

View File

@@ -20,7 +20,7 @@ jobs:
- name: Build Docker
run: |
version=$(cat version.txt)
docker build -t hpcaitech/colossalai:$version ./docker
docker build --build-arg http_proxy=http://172.17.0.1:7890 --build-arg https_proxy=http://172.17.0.1:7890 -t hpcaitech/colossalai:$version ./docker
- name: Log in to Docker Hub
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with: