Switch to mirrorred images for Drone and Dockerfile.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
3f39e6deee
commit
9e8b70ddab
10
.drone.yml
10
.drone.yml
@ -5,11 +5,11 @@ name: build
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: docker
|
- name: docker
|
||||||
image: plugins/docker
|
image: code.pztrn.name/containers/mirror/plugins/docker:20.13.0
|
||||||
settings:
|
settings:
|
||||||
username:
|
registry: code.pztrn.name
|
||||||
from_secret: dockerhub_user
|
username: drone
|
||||||
password:
|
password:
|
||||||
from_secret: dockerhub_password
|
from_secret: drone_secret
|
||||||
repo: pztrn/drone-nolimit
|
repo: code.pztrn.name/containers/drone-nolimit
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM 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.0
|
||||||
|
|
||||||
@ -9,7 +9,7 @@ RUN mkdir -p /src/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 alpine:3.15
|
FROM code.pztrn.name/containers/mirror/alpine:3.16.0
|
||||||
|
|
||||||
EXPOSE 80 443
|
EXPOSE 80 443
|
||||||
VOLUME /data
|
VOLUME /data
|
||||||
|
Loading…
Reference in New Issue
Block a user