ContainerImage.LighttpdPHPP.../.drone.yml

36 lines
941 B
YAML
Raw Normal View History

2019-11-26 14:56:40 +00:00
kind: pipeline
2020-08-17 15:52:41 +00:00
#type: kubernetes
2019-11-26 14:56:40 +00:00
name: default
steps:
2020-08-17 15:23:20 +00:00
- name: Publish to Harbor
2020-01-09 15:13:52 +00:00
image: plugins/docker
2019-11-26 14:56:40 +00:00
context: .
settings:
2020-08-17 13:43:34 +00:00
repo: registry.spamasaurus.com/djpbessems/lighttpd-php-powershell
2020-08-17 13:51:47 +00:00
registry: registry.spamasaurus.com
2019-11-26 14:56:40 +00:00
tags: latest
username:
2020-08-17 13:43:34 +00:00
from_secret: harbor_username
2019-11-26 14:56:40 +00:00
password:
2020-08-17 14:10:20 +00:00
from_secret: harbor_password
2020-08-17 14:18:32 +00:00
# environment:
# DOCKER_CONTENT_TRUST: 1
# DOCKER_CONTENT_TRUST_SERVER: https://notary.spamasaurus.com
# DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE:
# from_secret: harbor_repo_passphrase
# DOCKER_CONTENT_TRUST_ROOT_PASSPHRASE:
2020-08-17 15:23:20 +00:00
# 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 ]