This repository has been archived on 2022-06-19. You can view files and clone it, but cannot push or open issues or pull requests.
ContainerImage.MatrixBridge.../.drone.yml

40 lines
1003 B
YAML
Raw Normal View History

2020-12-09 21:49:45 +00:00
kind: pipeline
type: kubernetes
name: Harbor
steps:
2020-12-10 09:33:38 +00:00
- name: git clone
image: bv11-cr01.bessems.eu/proxy/alpine/git
commands:
2020-12-10 09:47:49 +00:00
- git clone https://mau.dev/tulir/mautrix-whatsapp.git /mautrix-whatsapp
2020-12-10 09:43:35 +00:00
# volumes:
# - name: git
# path: /repository
2020-12-10 09:33:38 +00:00
2020-12-09 21:49:45 +00:00
- name: build & publish
image: plugins/docker
2020-12-10 09:43:35 +00:00
# context: /repository/mautrix-whatsapp
2020-12-10 09:47:49 +00:00
context: /mautrix-whatsapp
2020-12-10 09:43:35 +00:00
# volumes:
# - name: git
# path: /repository
2020-12-09 21:49:45 +00:00
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
2020-12-10 09:43:35 +00:00
# volumes:
# - name: git
# temp: {}