Signed-off-by: Lucas BEE <pouulet@gmail.com>
This commit is contained in:
parent
5333fd1d80
commit
7f11b48df0
@ -3,7 +3,7 @@ name: default
|
||||
|
||||
steps:
|
||||
- name: prepare-workdir
|
||||
image: alpine:3.14.1
|
||||
image: alpine:3.16.2
|
||||
commands:
|
||||
- mkdir canapeapp
|
||||
|
||||
@ -16,7 +16,7 @@ steps:
|
||||
- npm run-script build
|
||||
|
||||
- name: backend
|
||||
image: golang:1.17.0-alpine3.14
|
||||
image: golang:1.19.3-alpine3.16
|
||||
commands:
|
||||
- apk --no-cache add git
|
||||
- go install -tags 'postgres' github.com/golang-migrate/migrate/v4/cmd/migrate@latest
|
||||
@ -24,7 +24,7 @@ steps:
|
||||
- CGO_ENABLED=0 go build -ldflags '-extldflags "-static"' -trimpath -v -o canapeapp/app backend/*.go
|
||||
|
||||
- name: prepare-docker
|
||||
image: alpine:3.14.1
|
||||
image: alpine:3.16.2
|
||||
commands:
|
||||
- cp docker/run.sh canapeapp/run.sh
|
||||
- cp migrate canapeapp/migrate
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM alpine:3.13.1
|
||||
FROM alpine:3.16.2
|
||||
RUN apk --no-cache add ca-certificates
|
||||
|
||||
COPY canapeapp /opt/canapeapp
|
||||
|
@ -6,7 +6,7 @@ networks:
|
||||
|
||||
services:
|
||||
database:
|
||||
image: postgres:13.1
|
||||
image: postgres:13.8
|
||||
container_name: canapeapp_database
|
||||
restart: always
|
||||
networks:
|
||||
|
Loading…
x
Reference in New Issue
Block a user