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

This commit is contained in:
Dominic Grimm 2022-08-02 10:52:27 +02:00
parent 777cc69450
commit 2249059328
1 changed files with 11 additions and 22 deletions

View File

@ -11,19 +11,7 @@ steps:
path: /var/run/docker.sock
commands:
- docker-compose build frontend
volumes:
- name: dockersock
host:
path: /var/run/docker.sock
---
kind: pipeline
type: docker
name: docker
steps:
- name: docker
- name: publish
image: plugins/docker
settings:
username:
@ -32,13 +20,14 @@ steps:
from_secret: docker_password
repo: grimmigerfuchs/schwarzesbrett
tags: latest
context: ./docker/schwarzesbrett
volumes:
- name: dockersock
path: /var/run/docker.sock
when:
branch:
- main
depends_on:
- frontend
trigger:
branch:
- main
event:
- push
volumes:
- name: dockersock
host:
path: /var/run/docker.sock