route96/.drone.yml

22 lines
545 B
YAML
Raw Normal View History

2024-05-01 17:13:17 +01:00
kind: pipeline
type: kubernetes
name: default
metadata:
namespace: git
steps:
- name: build
image: docker
privileged: true
environment:
TOKEN:
from_secret: gitea
2024-05-10 11:57:40 +01:00
TOKEN_DOCKER:
from_secret: docker_hub
2024-05-01 17:13:17 +01:00
commands:
- dockerd &
- docker login -u kieran -p $TOKEN git.v0l.io
2024-05-10 11:57:40 +01:00
- docker login -u voidic -p $TOKEN_DOCKER
2024-09-29 12:58:17 +01:00
- docker buildx build --push -t git.v0l.io/kieran/route96:latest -t voidic/route96:latest --build-arg FEATURES="labels" .
2024-05-10 11:57:40 +01:00
- kill $(cat /var/run/docker.pid)