mirror of
https://github.com/Forceu/Gokapi.git
synced 2026-01-05 16:29:52 -06:00
Fixed build
This commit is contained in:
@@ -13,7 +13,7 @@ RUN \
|
||||
|
||||
COPY go.mod /tmp/tmp/go.mod
|
||||
|
||||
RUN cd /tmp/tmp/ && go mod download && rm -r /tmp/tmp
|
||||
RUN cd /tmp/tmp/ && go mod tidy && go mod download && rm -r /tmp/tmp
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@ targets=${@-"darwin/amd64 linux/amd64 linux/386 linux/arm linux/arm64 windows/am
|
||||
|
||||
cd /usr/src/myapp
|
||||
go generate ./...
|
||||
go mod tidy
|
||||
|
||||
for target in $targets; do
|
||||
for tag in "full" "noaws"; do
|
||||
|
||||
Reference in New Issue
Block a user