From a2b7deaa6691ae2a5d1a6b1e5e2580b04fb62563 Mon Sep 17 00:00:00 2001 From: Dmitry Chumak Date: Tue, 26 Apr 2022 19:52:13 +0300 Subject: [PATCH] first docker build try --- .drone.yml | 14 ++++++++++---- Dockerfile | 3 +++ 2 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 Dockerfile diff --git a/.drone.yml b/.drone.yml index c80732e..901ee68 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,7 +8,13 @@ steps: commands: - echo hello world -- name: fr - image: alpine - commands: - - echo bonjour monde \ No newline at end of file +- name: publish + image: plugins/docker + settings: + repo: regisrty.venya.tech/drone/deploy-test + registry: https://regisrty.venya.tech/ + tags: [ "${DRONE_COMMIT_SHA:0:7}","latest" ] + username: + from_secret: docker_username + password: + from_secret: docker_password \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..fa0406b --- /dev/null +++ b/Dockerfile @@ -0,0 +1,3 @@ +FROM busybox +RUN echo "hello world" +CMD ["sleep", "100"] \ No newline at end of file