40 lines
1008 B
YAML
40 lines
1008 B
YAML
kind: pipeline
|
|
type: kubernetes
|
|
name: Harbor
|
|
|
|
steps:
|
|
- name: git clone
|
|
image: bv11-cr01.bessems.eu/proxy/alpine/git
|
|
commands:
|
|
- git clone https://mau.dev/tulir/mautrix-whatsapp.git /repository
|
|
# volumes:
|
|
# - name: git
|
|
# path: /repository
|
|
|
|
- name: build & publish
|
|
image: plugins/docker
|
|
# context: /repository/mautrix-whatsapp
|
|
context: /repository/mautrix-whatsapp
|
|
# volumes:
|
|
# - name: git
|
|
# path: /repository
|
|
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
|
|
|
|
# volumes:
|
|
# - name: git
|
|
# temp: {} |