PLNK/.drone.yml
Alex 5541be0b5a
Some checks reported errors
continuous-integration/drone/push Build was killed
Hopefully this works
2022-09-09 15:06:45 -04:00

17 lines
427 B
YAML

---
kind: pipeline
type: exec
name: default
steps:
- name: build and push
commands:
- "docker build -t plnk . "
- "echo $PLNK_REGISTRY_PASSWD | docker login --password-stdin --username drone https://plnk.littleoni.net"
- "docker tag plnk plnk.littleoni.net/plnk:${DRONE_TAG##v}"
when:
event:
- tag
environment:
PLNK_REGISTRY_PASSWD:
from_secret: PLNK_REGISTRY_PASSWD