This commit is contained in:
parent
a7b303dce2
commit
279da28323
1 changed files with 43 additions and 0 deletions
43
.drone.yml
Normal file
43
.drone.yml
Normal file
|
@ -0,0 +1,43 @@
|
|||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: publish sha
|
||||
image: banzaicloud/drone-kaniko
|
||||
settings:
|
||||
registry: registry.fromouter.space
|
||||
repo: hamcha/staxman
|
||||
cache: true
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
tags:
|
||||
- latest
|
||||
- ${DRONE_COMMIT_SHA}
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
|
||||
- name: publish tag
|
||||
image: banzaicloud/drone-kaniko
|
||||
settings:
|
||||
registry: registry.fromouter.space
|
||||
repo: hamcha/staxman
|
||||
cache: true
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
tags:
|
||||
- ${DRONE_COMMIT_BRANCH}
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
---
|
||||
kind: signature
|
||||
hmac: 62e075b75a39fc7e92f8d32d362140c4e80ee62977224b66352d21d5d2d4c575
|
||||
|
||||
...
|
Reference in a new issue