This commit is contained in:
parent
3ec8ef9c41
commit
82334939e9
17
.drone.yml
17
.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:
|
||||||
@ -20,4 +20,17 @@ steps:
|
|||||||
# DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE:
|
# DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE:
|
||||||
# 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