Add '.drone.yml'
This commit is contained in:
parent
5792e84947
commit
bfb0fe4106
42
.drone.yml
Normal file
42
.drone.yml
Normal file
@ -0,0 +1,42 @@
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
name: Harbor
|
||||
|
||||
steps:
|
||||
- name: build & publish
|
||||
image: plugins/docker
|
||||
context: .
|
||||
settings:
|
||||
repo: bv11-cr01.bessems.eu/library/matrixbridge-whatsapp
|
||||
registry: bv11-cr01.bessems.eu
|
||||
tags: latest
|
||||
mtu: 1450
|
||||
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/matrixbridge-whatsapp
|
||||
tags: latest
|
||||
mtu: 1450
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
Reference in New Issue
Block a user