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