Compare commits

..

No commits in common. "master" and "v2.7.2" have entirely different histories.

2 changed files with 9 additions and 9 deletions

View File

@ -5,11 +5,11 @@ name: build
steps:
- name: docker
image: code.pztrn.name/containers/mirror/plugins/docker:20.13.0
image: plugins/docker
settings:
registry: code.pztrn.name
username: drone
username:
from_secret: dockerhub_user
password:
from_secret: drone_secret
repo: code.pztrn.name/containers/drone-nolimit
from_secret: dockerhub_password
repo: pztrn/drone-nolimit
auto_tag: true

View File

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