Compare commits

...

1 Commits

Author SHA1 Message Date
96728f02da Update the CI versions of go and alpine
Some checks failed
continuous-integration/drone/push Build is failing
2020-02-26 13:01:06 +01:00

View File

@ -3,26 +3,26 @@ name: default
steps:
- name: prepare-workdir
image: alpine:3.11.0
image: alpine:3.11.3
commands:
- mkdir canapeapp
- name: frontend
image: node:13.5.0
image: node:13.8.0-alpine
commands:
- npm install yarn
- yarn install
- yarn build
- name: backend
image: golang:1.13.5
image: golang:1.14.0-alpine3.11
commands:
- GO111MODULE=off go get -tags 'postgres' -u github.com/golang-migrate/migrate/cmd/migrate
- cp $$GOPATH/bin/migrate migrate
- go build -v -o canapeapp/app backend/*.go
- CGO_ENABLED=0 go build -ldflags '-extldflags "-static"' -trimpath -v -o canapeapp/app backend/*.go
- name: prepare-docker
image: alpine:3.11.0
image: alpine:3.11.3
commands:
- cp docker/run.sh canapeapp/run.sh
- cp migrate canapeapp/migrate