This commit is contained in:
parent
fbed8ec6c8
commit
bb1e521dac
18
.drone.yml
Normal file
18
.drone.yml
Normal 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
1
run.example.sh
Normal file
@ -0,0 +1 @@
|
||||
docker run -e GONK_KEY=apikey plnk
|
Loading…
Reference in New Issue
Block a user