This commit is contained in:
parent
1074f8d7b9
commit
26f149e1ef
2 changed files with 15 additions and 4 deletions
17
.drone.yml
17
.drone.yml
|
@ -7,10 +7,19 @@ platform:
|
|||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: hallo
|
||||
image: alpine
|
||||
commands:
|
||||
- echo hello world
|
||||
- name: build and deploy
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: registry.saces.eu/foo/bar
|
||||
dockerfile: hello/Dockerfile
|
||||
registry: registry.saces.eu
|
||||
username:
|
||||
from_secret: registreu_user
|
||||
password:
|
||||
from_secret: registreu_spassword
|
||||
|
||||
- name: pull and run
|
||||
image: registry.saces.eu/foo/bar/huhu
|
||||
|
||||
node:
|
||||
saces: saces
|
||||
|
|
2
hello/Dockerfile
Normal file
2
hello/Dockerfile
Normal file
|
@ -0,0 +1,2 @@
|
|||
FROM alpine
|
||||
CMD ["echo", "huhu"]
|
Loading…
Reference in a new issue