Update '.drone.yml'

This commit is contained in:
Danny Bessems 2020-12-10 09:33:38 +00:00
parent bfb0fe4106
commit 5d8c8f8122
1 changed files with 15 additions and 18 deletions

View File

@ -3,9 +3,20 @@ type: kubernetes
name: Harbor
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
image: plugins/docker
context: .
context: /repository/mautrix-whatsapp
volumes:
- name: git
path: /repository
settings:
repo: bv11-cr01.bessems.eu/library/matrixbridge-whatsapp
registry: bv11-cr01.bessems.eu
@ -23,20 +34,6 @@ steps:
# 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
volumes:
- name: git
temp: {}