diff --git a/.drone.yml b/.drone.yml index bf157ac..64e0813 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 \ No newline at end of file +volumes: +- name: git + temp: {} \ No newline at end of file