Files
notepush-build/.drone.yaml
Kieran 2d93290795
Some checks reported errors
continuous-integration/drone/push Build was killed
fix build
2025-05-22 16:54:14 +01:00

28 lines
592 B
YAML

kind: pipeline
type: kubernetes
name: default
metadata:
namespace: git
volumes:
- name: cache
claim:
name: docker-cache
steps:
- name: build
image: docker
privileged: true
volumes:
- name: cache
path: /cache
environment:
TOKEN:
from_secret: registry_token
commands:
- dockerd --data-root /cache/dockerd &
- docker login -u registry -p $TOKEN registry.v0l.io
- docker build -t registry.v0l.io/notepush:latest .
- docker push registry.v0l.io/notepush:latest
- kill $(cat /var/run/docker.pid)