Lets try CI/CD
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
2 changed files with 19 additions and 0 deletions
+18
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
View File
@@ -0,0 +1 @@
docker run -e GONK_KEY=apikey plnk