Use mirrorred images in Dockerfile.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Stanislav Nikitin 2022-06-28 22:19:42 +05:00
parent d2b3304a5a
commit 02e933efed
Signed by: pztrn
GPG Key ID: 1E944A0F0568B550
1 changed files with 2 additions and 2 deletions

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
WORKDIR /fastpastebin
COPY . .
@ -7,7 +7,7 @@ WORKDIR /fastpastebin/cmd/fastpastebin
RUN CGO_ENABLED=0 go build -tags netgo
FROM alpine:3.16.0
FROM code.pztrn.name/containers/mirror/alpine:3.16.0
LABEL maintainer "Stanislav N. <pztrn@pztrn.name>"
COPY --from=build /fastpastebin/cmd/fastpastebin/fastpastebin /app/fastpastebin