You've already forked docker-compose-docker
fix(ci): add build args containing GO environment variables
This commit is contained in:
@@ -36,6 +36,9 @@ jobs:
|
||||
- name: Build and push image
|
||||
run: |
|
||||
docker buildx build \
|
||||
--build-arg GONOSUMDB=${GONOSUMDB} \
|
||||
--build-arg GOPRIVATE=${GOPRIVATE} \
|
||||
--build-arg GOPROXY=${GOPROXY} \
|
||||
--platform linux/arm64 \
|
||||
--file Dockerfile \
|
||||
--provenance false \
|
||||
@@ -71,6 +74,9 @@ jobs:
|
||||
- name: Build and push image
|
||||
run: |
|
||||
docker buildx build \
|
||||
--build-arg GONOSUMDB=${GONOSUMDB} \
|
||||
--build-arg GOPRIVATE=${GOPRIVATE} \
|
||||
--build-arg GOPROXY=${GOPROXY} \
|
||||
--platform linux/amd64 \
|
||||
--file Dockerfile \
|
||||
--provenance false \
|
||||
|
||||
Reference in New Issue
Block a user