Files
notepush-build/.drone.yaml
Kieran bff49b9fc1
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
clone outside
2025-05-23 12:24:28 +01:00

29 lines
689 B
YAML

kind: pipeline
type: kubernetes
name: default
metadata:
namespace: git
volumes:
- name: cache
claim:
name: storage2
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
- git clone --single-branch --branch zap_stream_modifications https://git.v0l.io/Kieran/notepush.git
- docker build -t registry.v0l.io/notepush:latest .
- docker push registry.v0l.io/notepush:latest
- kill $(cat /var/run/docker.pid)