Add dockerhub push CI
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Dominic Grimm 2022-08-02 10:39:06 +02:00
parent d25594bf94
commit e557f3169d

View file

@ -1,7 +1,7 @@
--- ---
kind: pipeline kind: pipeline
type: docker type: docker
name: schwarzesbrett name: frontend
steps: steps:
- name: build - name: build
@ -16,3 +16,28 @@ volumes:
- name: dockersock - name: dockersock
host: host:
path: /var/run/docker.sock path: /var/run/docker.sock
---
kind: pipeline
type: docker
name: push-to-hub
steps:
- name: docker
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: grimmigerfuchs/schwarzesbrett
tags: latest
depends_on:
- frontend
trigger:
branch:
- main
event:
- push