PLNK/.drone.yml

17 lines
427 B
YAML
Raw Normal View History

2022-08-28 11:42:59 -04:00
---
kind: pipeline
2022-09-09 15:06:45 -04:00
type: exec
2022-08-28 11:42:59 -04:00
name: default
steps:
- name: build and push
commands:
2022-08-28 12:59:40 -04:00
- "docker build -t plnk . "
2022-08-28 11:42:59 -04:00
- "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