[pre-commit.ci] auto fixes from pre-commit.com hooks [CI SKIP]

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2024-01-12 21:00:14 +00:00
parent 29d5c663fc
commit 0945af9773

View file

@ -58,15 +58,15 @@ steps:
- name: build - name: build
image: golang image: golang
commands: commands:
- go get - go get
- go build - go build
- make versiontags > .tags - make versiontags > .tags
- name: publish - name: publish
image: banzaicloud/drone-kaniko image: banzaicloud/drone-kaniko
settings: settings:
registry: registry.example.com registry: registry.example.com
repo: registry.example.com/example-project repo: registry.example.com/example-project
# tags: ${DRONE_COMMIT_SHA} <= it must be left undefined # tags: ${DRONE_COMMIT_SHA} <= it must be left undefined
username: username:
from_secret: docker-username from_secret: docker-username
password: password:
@ -85,12 +85,12 @@ steps:
- name: build - name: build
image: golang image: golang
commands: commands:
- go get - go get
- go build - go build
- name: publish - name: publish
image: banzaicloud/drone-kaniko image: banzaicloud/drone-kaniko
settings: settings:
registry: registry.example.com registry: registry.example.com
repo: registry.example.com/example-project repo: registry.example.com/example-project
auto_tag: true # higher priority then .tags file auto_tag: true # higher priority then .tags file
# tags: ${DRONE_COMMIT_SHA} <= it must be left undefined to use auto_tag # tags: ${DRONE_COMMIT_SHA} <= it must be left undefined to use auto_tag