Update Drone configuration.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Stanislav Nikitin 2022-06-26 22:49:37 +05:00
parent f8f0302564
commit 1cb93c7d97
Signed by: pztrn
GPG Key ID: 1E944A0F0568B550
1 changed files with 5 additions and 2 deletions

View File

@ -6,6 +6,7 @@ name: lint and test
steps: steps:
- name: lint - name: lint
image: golangci/golangci-lint:v1.46.2 image: golangci/golangci-lint:v1.46.2
pull: if-not-exists
environment: environment:
CGO_ENABLED: 0 CGO_ENABLED: 0
commands: commands:
@ -13,6 +14,7 @@ steps:
- name: test - name: test
image: golang:1.18.3-alpine image: golang:1.18.3-alpine
pull: if-not-exists
environment: environment:
CGO_ENABLED: 0 CGO_ENABLED: 0
commands: commands:
@ -36,11 +38,12 @@ steps:
username: drone username: drone
password: password:
from_secret: drone_secret from_secret: drone_secret
repo: code.pztrn.name/pztrn/fastpastebin repo: code.pztrn.name/apps/fastpastebin
auto_tag: true auto_tag: true
- name: build tagged image - name: build tagged image
image: plugins/docker image: plugins/docker
pull: if-not-exists
when: when:
event: ["tag"] event: ["tag"]
settings: settings:
@ -48,5 +51,5 @@ steps:
username: drone username: drone
password: password:
from_secret: drone_secret from_secret: drone_secret
repo: code.pztrn.name/pztrn/fastpastebin repo: code.pztrn.name/apps/fastpastebin
auto_tag: true auto_tag: true