diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..7d7333d --- /dev/null +++ b/.drone.yml @@ -0,0 +1,16 @@ +kind: pipeline +type: docker +name: default + +steps: +- name: docker + image: plugins/docker + settings: + username: + from_secret: cicd_username + password: + from_secret: cicd_password + repo: registry.undefined-dev.fr/k8s/helloworld + auto_tag: true + ssh-agent-key: + from_secret: private_key \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..c34d61d --- /dev/null +++ b/Dockerfile @@ -0,0 +1,2 @@ +FROM nginx:mainline-alpine +ADD index.html /usr/share/nginx/html/ diff --git a/index.html b/index.html new file mode 100644 index 0000000..184a83f --- /dev/null +++ b/index.html @@ -0,0 +1,9 @@ + + +
+