Add dockerhub push CI
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Dominic Grimm 2022-08-02 10:39:06 +02:00
parent d25594bf94
commit e557f3169d
1 changed files with 26 additions and 1 deletions

View File

@ -1,7 +1,7 @@
---
kind: pipeline
type: docker
name: schwarzesbrett
name: frontend
steps:
- name: build
@ -16,3 +16,28 @@ volumes:
- name: dockersock
host:
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