fix(ci): add build args containing GO environment variables

This commit is contained in:
2025-10-22 22:45:37 +02:00
parent fb11864497
commit a2932d8025
2 changed files with 12 additions and 0 deletions

View File

@@ -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 \