Update to Drone 2.12.1.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Stanislav Nikitin 2022-06-29 17:45:37 +05:00
parent 9e8b70ddab
commit 2fcbf929b0
Signed by: pztrn
GPG Key ID: 1E944A0F0568B550

View File

@ -1,11 +1,11 @@
FROM code.pztrn.name/containers/mirror/golang:1.18.3-alpine as build FROM code.pztrn.name/containers/mirror/golang:1.18.3-alpine as build
ENV DRONE_VERSION=2.12.0 ENV DRONE_VERSION=2.12.1
RUN apk add -U --no-cache ca-certificates git build-base RUN apk add -U --no-cache ca-certificates git build-base
RUN mkdir -p /src/drone && \ RUN mkdir -p /src/drone && \
cd /src/drone && \ cd /src/drone && \
git clone https://github.com/drone/drone . && \ git clone https://github.com/harness/drone . && \
git checkout -b v${DRONE_VERSION} git checkout -b v${DRONE_VERSION}
RUN cd /src/drone/cmd/drone-server && go build -tags "nolimit" -ldflags "-extldflags \"-static\"" -o drone-server RUN cd /src/drone/cmd/drone-server && go build -tags "nolimit" -ldflags "-extldflags \"-static\"" -o drone-server