mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2026-03-14 14:35:44 +01:00
No more need for "GOPROXY" environment variable.
This commit is contained in:
parent
26e3a39f12
commit
82919ce97b
3 changed files with 2 additions and 7 deletions
3
.github/workflows/tarball.yml
vendored
3
.github/workflows/tarball.yml
vendored
|
|
@ -77,15 +77,12 @@ jobs:
|
|||
[ -d "tmp/vendor" ] || exit 1
|
||||
|
||||
- name: Build
|
||||
env:
|
||||
GOPROXY: off
|
||||
run: |
|
||||
echo "Building with $(nproc) threads"
|
||||
make -C tmp build -j$(nproc)
|
||||
|
||||
- name: Run tests
|
||||
env:
|
||||
GOPROXY: off
|
||||
USE_DB_IP_GEOIP_DATABASE: "1"
|
||||
run: |
|
||||
make -C tmp test TIMEOUT=120s
|
||||
|
|
|
|||
|
|
@ -7,8 +7,7 @@ WORKDIR /workdir
|
|||
COPY . .
|
||||
RUN touch /.dockerenv && \
|
||||
apk add --no-cache bash git build-base protobuf && \
|
||||
if [ -d "vendor" ]; then GOOS=${TARGETOS} GOARCH=${TARGETARCH} GOPROXY=off make proxy; else \
|
||||
GOOS=${TARGETOS} GOARCH=${TARGETARCH} make proxy; fi
|
||||
GOOS=${TARGETOS} GOARCH=${TARGETARCH} make proxy
|
||||
|
||||
FROM alpine:3
|
||||
|
||||
|
|
|
|||
|
|
@ -7,8 +7,7 @@ WORKDIR /workdir
|
|||
COPY . .
|
||||
RUN touch /.dockerenv && \
|
||||
apk add --no-cache bash git build-base protobuf && \
|
||||
if [ -d "vendor" ]; then GOOS=${TARGETOS} GOARCH=${TARGETARCH} GOPROXY=off make server; else \
|
||||
GOOS=${TARGETOS} GOARCH=${TARGETARCH} make server; fi
|
||||
GOOS=${TARGETOS} GOARCH=${TARGETARCH} make server
|
||||
|
||||
FROM alpine:3
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue