[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:
parent
29d5c663fc
commit
0945af9773
1 changed files with 5 additions and 5 deletions
10
README.md
10
README.md
|
@ -58,15 +58,15 @@ steps:
|
|||
- name: build
|
||||
image: golang
|
||||
commands:
|
||||
- go get
|
||||
- go get
|
||||
- go build
|
||||
- make versiontags > .tags
|
||||
- name: publish
|
||||
image: banzaicloud/drone-kaniko
|
||||
settings:
|
||||
registry: registry.example.com
|
||||
registry: registry.example.com
|
||||
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:
|
||||
from_secret: docker-username
|
||||
password:
|
||||
|
@ -85,12 +85,12 @@ steps:
|
|||
- name: build
|
||||
image: golang
|
||||
commands:
|
||||
- go get
|
||||
- go get
|
||||
- go build
|
||||
- name: publish
|
||||
image: banzaicloud/drone-kaniko
|
||||
settings:
|
||||
registry: registry.example.com
|
||||
registry: registry.example.com
|
||||
repo: registry.example.com/example-project
|
||||
auto_tag: true # higher priority then .tags file
|
||||
# tags: ${DRONE_COMMIT_SHA} <= it must be left undefined to use auto_tag
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue