Lets try CI/CD
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Alex 2022-08-28 11:42:59 -04:00
parent fbed8ec6c8
commit bb1e521dac
Signed by: technically
GPG Key ID: 46E0A080F69E83F1
2 changed files with 19 additions and 0 deletions

18
.drone.yml Normal file
View File

@ -0,0 +1,18 @@
---
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

1
run.example.sh Normal file
View File

@ -0,0 +1 @@
docker run -e GONK_KEY=apikey plnk