This commit is contained in:
Michael Grote 2023-04-20 12:28:18 +02:00
parent 0704d69fdb
commit aa7e6809e8

View file

@ -19,7 +19,7 @@ steps:
- hadolint Dockerfile
- name: container
image: docker:20
image: docker:dind
environment:
username:
from_secret: OCI_REGISTRY_USER
@ -35,5 +35,10 @@ steps:
- docker push registry.mgrote.net/allzweckcontainer:${DRONE_COMMIT_SHA:0:8}
- docker push registry.mgrote.net/allzweckcontainer:${DRONE_COMMIT_BRANCH}
volumes:
- name: dockersock
path: /var/run
- name: dockersock
path: /var/run/docker.sock
volumes:
- name: dockersock
host:
path: /var/run/docker.sock