updates #40

Merged
PouuleT merged 2 commits from updates into master 2021-02-03 15:33:28 +00:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit 5cd150d589 - Show all commits

View File

@ -3,7 +3,7 @@ name: default
steps: steps:
- name: prepare-workdir - name: prepare-workdir
image: alpine:3.11.3 image: alpine:3.13.1
commands: commands:
- mkdir canapeapp - mkdir canapeapp
@ -16,7 +16,7 @@ steps:
- npm run-script build - npm run-script build
- name: backend - name: backend
image: golang:1.14.0-alpine3.11 image: golang:1.15.7-alpine3.13
commands: commands:
- apk --no-cache add git - apk --no-cache add git
- GO111MODULE=off go get -tags 'postgres' -u github.com/golang-migrate/migrate/cmd/migrate - GO111MODULE=off go get -tags 'postgres' -u github.com/golang-migrate/migrate/cmd/migrate
@ -24,7 +24,7 @@ steps:
- CGO_ENABLED=0 go build -ldflags '-extldflags "-static"' -trimpath -v -o canapeapp/app backend/*.go - CGO_ENABLED=0 go build -ldflags '-extldflags "-static"' -trimpath -v -o canapeapp/app backend/*.go
- name: prepare-docker - name: prepare-docker
image: alpine:3.11.3 image: alpine:3.13.1
commands: commands:
- cp docker/run.sh canapeapp/run.sh - cp docker/run.sh canapeapp/run.sh
- cp migrate canapeapp/migrate - cp migrate canapeapp/migrate

View File

@ -1,4 +1,4 @@
FROM alpine:3.11.3 FROM alpine:3.13.1
RUN apk --no-cache add ca-certificates RUN apk --no-cache add ca-certificates
COPY canapeapp /opt/canapeapp COPY canapeapp /opt/canapeapp