wip: feat(ci): Build docker container

This commit is contained in:
Rafael Epplée 2025-05-28 17:08:02 +02:00
parent d89b1d1cc0
commit cf80d05951
No known key found for this signature in database
GPG key ID: B4EFE6DC59FAE118

View file

@ -8,6 +8,12 @@ services:
environment: environment:
POSTGRES_USER: postgres POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres POSTGRES_PASSWORD: postgres
- name: docker
image: docker:dind
privileged: true
volumes:
- name: dockersock
path: /var/run
trigger: trigger:
event: event:
@ -95,11 +101,24 @@ steps:
- name: cache - name: cache
path: /cache path: /cache
- name: build & publish container?
image: docker:dind
volumes:
- name: dockersock
path: /var/run
commands:
- sleep 5 # give docker time to start
- docker ps -a
- docker build --tag mitgliederverwaltung .
volumes: volumes:
- name: cache - name: cache
host: host:
path: /tmp/drone_cache path: /tmp/drone_cache
- name: dockersock
temp: {}
--- ---
kind: pipeline kind: pipeline
type: docker type: docker