This commit is contained in:
parent
3ec8ef9c41
commit
82334939e9
15
.drone.yml
15
.drone.yml
@ -3,7 +3,7 @@ type: kubernetes
|
|||||||
name: default
|
name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: docker
|
- name: Publish to Harbor
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
context: .
|
context: .
|
||||||
settings:
|
settings:
|
||||||
@ -21,3 +21,16 @@ steps:
|
|||||||
# from_secret: harbor_repo_passphrase
|
# from_secret: harbor_repo_passphrase
|
||||||
# DOCKER_CONTENT_TRUST_ROOT_PASSPHRASE:
|
# DOCKER_CONTENT_TRUST_ROOT_PASSPHRASE:
|
||||||
# from_secret: harbor_root_passphrase
|
# from_secret: harbor_root_passphrase
|
||||||
|
depends_on: [ clone ]
|
||||||
|
|
||||||
|
- name: Publish to Dockerhub
|
||||||
|
image: plugins/docker
|
||||||
|
context: .
|
||||||
|
settings:
|
||||||
|
repo: djpbessems/lighttpd-php-powershell
|
||||||
|
tags: latest
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
depends_on: [ clone ]
|
Loading…
Reference in New Issue
Block a user