diff --git a/.drone.yml b/.drone.yml index a797b25..1e561d8 100644 --- a/.drone.yml +++ b/.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 diff --git a/hello/Dockerfile b/hello/Dockerfile new file mode 100644 index 0000000..bf21e91 --- /dev/null +++ b/hello/Dockerfile @@ -0,0 +1,2 @@ +FROM alpine +CMD ["echo", "huhu"]