Compare commits
No commits in common. "master" and "v2.7.2" have entirely different histories.
10
.drone.yml
10
.drone.yml
@ -5,11 +5,11 @@ name: build
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: docker
|
- name: docker
|
||||||
image: code.pztrn.name/containers/mirror/plugins/docker:20.13.0
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
registry: code.pztrn.name
|
username:
|
||||||
username: drone
|
from_secret: dockerhub_user
|
||||||
password:
|
password:
|
||||||
from_secret: drone_secret
|
from_secret: dockerhub_password
|
||||||
repo: code.pztrn.name/containers/drone-nolimit
|
repo: pztrn/drone-nolimit
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
|
@ -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 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/harness/drone . && \
|
git clone https://github.com/drone/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
|
||||||
|
|
||||||
FROM code.pztrn.name/containers/mirror/alpine:3.16.1
|
FROM alpine:3.14
|
||||||
|
|
||||||
EXPOSE 80 443
|
EXPOSE 80 443
|
||||||
VOLUME /data
|
VOLUME /data
|
||||||
|
Loading…
Reference in New Issue
Block a user