Switch to mirrorred images for Drone CI.
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Stanislav Nikitin 2022-06-28 21:19:35 +05:00
parent 6b04a1dcd5
commit 18734ebd18
Signed by: pztrn
GPG Key ID: 1E944A0F0568B550

View File

@ -5,7 +5,7 @@ name: lint and test
steps:
- name: lint
image: golangci/golangci-lint:v1.46.2
image: code.pztrn.name/containers/mirror/golangci/golangci-lint:v1.46.2
pull: if-not-exists
environment:
CGO_ENABLED: 0
@ -13,7 +13,7 @@ steps:
- golangci-lint run
- name: test
image: golang:1.18.3-alpine
image: code.pztrn.name/containers/mirror/golang:1.18.3-alpine
pull: if-not-exists
environment:
CGO_ENABLED: 0
@ -30,7 +30,7 @@ depends_on:
steps:
- name: build master image
image: plugins/docker
image: code.pztrn.name/containers/mirror/plugins/docker
when:
branch: ["master"]
settings:
@ -42,7 +42,7 @@ steps:
auto_tag: true
- name: build tagged image
image: plugins/docker
image: code.pztrn.name/containers/mirror/plugins/docker
pull: if-not-exists
when:
event: ["tag"]