Update '.drone.yml'

This commit is contained in:
Danny Bessems 2020-12-10 09:33:38 +00:00
parent bfb0fe4106
commit 5d8c8f8122

View File

@ -3,9 +3,20 @@ type: kubernetes
name: Harbor name: Harbor
steps: steps:
- name: git clone
image: bv11-cr01.bessems.eu/proxy/alpine/git
commands:
- clone https://mau.dev/tulir/mautrix-whatsapp.git /repository
volumes:
- name: git
path: /repository
- name: build & publish - name: build & publish
image: plugins/docker image: plugins/docker
context: . context: /repository/mautrix-whatsapp
volumes:
- name: git
path: /repository
settings: settings:
repo: bv11-cr01.bessems.eu/library/matrixbridge-whatsapp repo: bv11-cr01.bessems.eu/library/matrixbridge-whatsapp
registry: bv11-cr01.bessems.eu registry: bv11-cr01.bessems.eu
@ -23,20 +34,6 @@ steps:
# DOCKER_CONTENT_TRUST_ROOT_PASSPHRASE: # DOCKER_CONTENT_TRUST_ROOT_PASSPHRASE:
# from_secret: harbor_root_passphrase # from_secret: harbor_root_passphrase
--- volumes:
kind: pipeline - name: git
type: kubernetes temp: {}
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