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 - hadolint Dockerfile
- name: container - name: container
image: docker:20 image: docker:dind
environment: environment:
username: username:
from_secret: OCI_REGISTRY_USER 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_SHA:0:8}
- docker push registry.mgrote.net/allzweckcontainer:${DRONE_COMMIT_BRANCH} - docker push registry.mgrote.net/allzweckcontainer:${DRONE_COMMIT_BRANCH}
volumes: volumes:
- name: dockersock - name: dockersock
path: /var/run path: /var/run/docker.sock
volumes:
- name: dockersock
host:
path: /var/run/docker.sock