[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
|
- 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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue