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