auto tag drone
This commit is contained in:
parent
2a7ea66d69
commit
d34250a50b
17
.drone.yml
17
.drone.yml
|
@ -6,8 +6,6 @@ name: default
|
|||
steps:
|
||||
- name: kaniko
|
||||
image: ghcr.io/finitum/drone-kaniko:0.7.0
|
||||
when:
|
||||
branch: [master]
|
||||
settings:
|
||||
cache: true
|
||||
username:
|
||||
|
@ -16,17 +14,4 @@ steps:
|
|||
from_secret: REGISTRY_PASSWORD
|
||||
registry: harbor.voidcorp.nl
|
||||
repo: library/galerie
|
||||
tags: latest
|
||||
- name: kaniko-test
|
||||
image: ghcr.io/finitum/drone-kaniko:0.7.0
|
||||
when:
|
||||
branch: [test]
|
||||
settings:
|
||||
cache: true
|
||||
username:
|
||||
from_secret: REGISTRY_USER
|
||||
password:
|
||||
from_secret: REGISTRY_PASSWORD
|
||||
registry: harbor.voidcorp.nl
|
||||
repo: library/galerie
|
||||
tags: test
|
||||
tags: ${DRONE_COMMIT_BRANCH}
|
Loading…
Reference in a new issue