Switch to mirrorred images for Drone and Dockerfile.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Stanislav Nikitin 2022-06-29 17:42:34 +05:00
parent 3f39e6deee
commit 9e8b70ddab
Signed by: pztrn
GPG Key ID: 1E944A0F0568B550
2 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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