Files
dockerfiles/.drone.yml
Sivert d40d907fe5
Some checks failed
continuous-integration/drone/push Build is failing
🔌 Docker.sock
2023-02-06 12:50:41 +01:00

26 lines
393 B
YAML

---
kind: pipeline
type: docker
name: build and push
steps:
- name: build and push
image: docker:dind
volumes:
- name: docker.sock
path: /var/run/docker.sock
environment:
REG:
from_secret: registry
commands:
- mkdir ~/.docker
- echo "$REG" > ~/.docker/config.json
- apk add make
- make all
volumes:
- name: docker.sock
host:
path: /var/run/docker.sock