2020-11-08 19:38:03 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: kubernetes
|
|
|
|
name: Harbor
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build & publish
|
|
|
|
image: plugins/docker
|
|
|
|
context: .
|
|
|
|
settings:
|
|
|
|
repo: registry.spamasaurus.com/library/inotify-rsync
|
|
|
|
registry: registry.spamasaurus.com
|
|
|
|
tags: latest
|
2020-11-08 19:43:04 +00:00
|
|
|
mtu: 1450
|
2020-11-08 19:38:03 +00:00
|
|
|
username:
|
|
|
|
from_secret: harbor_username
|
|
|
|
password:
|
|
|
|
from_secret: harbor_password
|
|
|
|
# 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:
|
|
|
|
# from_secret: harbor_root_passphrase
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: kubernetes
|
|
|
|
name: Dockerhub
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build & publish
|
|
|
|
image: plugins/docker
|
|
|
|
context: .
|
|
|
|
settings:
|
|
|
|
repo: djpbessems/inotify-rsync
|
|
|
|
tags: latest
|
2020-11-08 19:43:04 +00:00
|
|
|
mtu: 1450
|
2020-11-08 19:38:03 +00:00
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
2020-11-08 19:43:04 +00:00
|
|
|
from_secret: docker_password
|