fix(ci): adapt .drone.yml to latest version
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-10-24 12:39:00 +02:00
parent 760c55f48e
commit 7a0eaa6764
3 changed files with 188 additions and 15 deletions

View File

@ -1,5 +1,7 @@
FROM docker.io/library/golang:1.17-alpine3.14 AS build
ARG VERSION=latest
COPY . /workspace
WORKDIR /workspace
@ -7,9 +9,9 @@ WORKDIR /workspace
RUN set -ex && \
apk update && \
apk add git make && \
make install DESTDIR=/db-wait PREFIX=/usr
make install VERSION=${VERSION} DESTDIR=/db-wait PREFIX=/usr
FROM docker.io/library/alpine:3.14.2
FROM docker.io/library/alpine:3.14
COPY --from=build /db-wait /