ContainerImage.LighttpdPHPP.../.drone.yml

41 lines
939 B
YAML
Raw Normal View History

2019-11-26 14:56:40 +00:00
kind: pipeline
2020-08-17 15:55:09 +00:00
type: kubernetes
name: Harbor
2019-11-26 14:56:40 +00:00
steps:
2020-08-17 15:55:09 +00:00
- name: build & publish
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:55:09 +00:00
# from_secret: harbor_root_passphrase
2020-08-17 15:23:20 +00:00
2020-08-17 15:55:09 +00:00
---
kind: pipeline
type: kubernetes
name: Dockerhub
2020-08-17 15:55:46 +00:00
steps:
2020-08-17 15:55:09 +00:00
- name: build & publish
2020-08-17 15:23:20 +00:00
image: plugins/docker
context: .
settings:
repo: djpbessems/lighttpd-php-powershell
tags: latest
username:
from_secret: docker_username
password:
from_secret: docker_password