PLNK/.drone.yml
Alex bb1e521dac
All checks were successful
continuous-integration/drone/push Build is passing
Lets try CI/CD
2022-08-28 11:42:59 -04:00

18 lines
450 B
YAML

---
kind: pipeline
type: docker
name: default
steps:
- name: build and push
image: docker:latest
commands:
- "docker build . 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