Try fix publish CI
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Dominic Grimm 2022-08-02 10:57:41 +02:00
parent b7cb223ee5
commit ae5ea50ec0

View file

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