This commit is contained in:
parent
14e56454e7
commit
09aebbafb4
@ -16,10 +16,10 @@ steps:
|
||||
- npm run-script build
|
||||
|
||||
- name: backend
|
||||
image: golang:1.16.7-alpine3.14
|
||||
image: golang:1.17.0-alpine3.14
|
||||
commands:
|
||||
- apk --no-cache add git
|
||||
- GO111MODULE=off go get -tags 'postgres' -u github.com/golang-migrate/migrate/cmd/migrate
|
||||
- go get -tags 'postgres' -u github.com/golang-migrate/migrate/cmd/migrate@latest
|
||||
- cp $$GOPATH/bin/migrate migrate
|
||||
- CGO_ENABLED=0 go build -ldflags '-extldflags "-static"' -trimpath -v -o canapeapp/app backend/*.go
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user