first docker build try

This commit is contained in:
2022-04-26 19:52:13 +03:00
parent 5f4b19d2fd
commit a2b7deaa66
2 changed files with 13 additions and 4 deletions

View File

@@ -8,7 +8,13 @@ steps:
commands:
- echo hello world
- name: fr
image: alpine
commands:
- echo bonjour monde
- 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

3
Dockerfile Normal file
View File

@@ -0,0 +1,3 @@
FROM busybox
RUN echo "hello world"
CMD ["sleep", "100"]