Lets try CI/CD
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
fbed8ec6c8
commit
bb1e521dac
|
@ -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
|
|
@ -0,0 +1 @@
|
||||||
|
docker run -e GONK_KEY=apikey plnk
|
Loading…
Reference in New Issue