This commit is contained in:
2026-09-09 20:31:05 +07:00
parent f46ddf19dc
commit 8da7f16853
3 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ build-linux:
-v "$$PWD":/app \
-w /app \
my-go-builder sh -c \
"GOOS=linux GOARCH=arm64 go build -o bin/evening_detective_server ./cmd/evening_detective_server"
"GOOS=linux GOARCH=$(GOARCH) go build -o bin/evening_detective_server ./cmd/evening_detective_server"
test:
go test -count=1 ./...
+2
View File
@@ -26,6 +26,8 @@ make build-builder
make build-linux
```
По умолчанию используется архитектура Docker-среды. Для другой архитектуры укажите, например, `make build-linux GOARCH=arm64` или `make build-linux GOARCH=amd64`.
Миграции
```shell
Binary file not shown.