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:
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
image: code.pztrn.name/containers/mirror/plugins/docker:20.13.0
|
||||
settings:
|
||||
username:
|
||||
from_secret: dockerhub_user
|
||||
registry: code.pztrn.name
|
||||
username: drone
|
||||
password:
|
||||
from_secret: dockerhub_password
|
||||
repo: pztrn/drone-nolimit
|
||||
from_secret: drone_secret
|
||||
repo: code.pztrn.name/containers/drone-nolimit
|
||||
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
|
||||
|
||||
@ -9,7 +9,7 @@ RUN mkdir -p /src/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 alpine:3.15
|
||||
FROM code.pztrn.name/containers/mirror/alpine:3.16.0
|
||||
|
||||
EXPOSE 80 443
|
||||
VOLUME /data
|
||||
|
Loading…
Reference in New Issue
Block a user