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:
|
steps:
|
||||||
- name: kaniko
|
- name: kaniko
|
||||||
image: ghcr.io/finitum/drone-kaniko:0.7.0
|
image: ghcr.io/finitum/drone-kaniko:0.7.0
|
||||||
when:
|
|
||||||
branch: [master]
|
|
||||||
settings:
|
settings:
|
||||||
cache: true
|
cache: true
|
||||||
username:
|
username:
|
||||||
|
@ -16,17 +14,4 @@ steps:
|
||||||
from_secret: REGISTRY_PASSWORD
|
from_secret: REGISTRY_PASSWORD
|
||||||
registry: harbor.voidcorp.nl
|
registry: harbor.voidcorp.nl
|
||||||
repo: library/galerie
|
repo: library/galerie
|
||||||
tags: latest
|
tags: ${DRONE_COMMIT_BRANCH}
|
||||||
- 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
|
|
Loading…
Reference in a new issue