From c2c6348de411bcff6cb3eae4e3129ee74db46cea Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Tue, 28 Mar 2023 14:47:33 +0200 Subject: [PATCH] [CI] Added docker build step back --- .drone.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/.drone.yml b/.drone.yml index d86c524..8da87a8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,6 +5,33 @@ type: 'kubernetes' steps: +# build and publish +- image: 'plugins/docker' + name: 'publish' + pull: 'always' + settings: + + # registery and repos + registry: 'docker.io' + repo: 'rakepanorama/start-simoncor-net' + mtu: '1400' + + # build stuff + dockerfile: 'Dockerfile.linux.amd64' + daemon_off: 'false' + + # authentication + username: + from_secret: 'docker_username' + password: + from_secret: 'docker_password' + + # tags + tags: + - 'v1.1' + - 'latest' + + # deploy to kubernetes - image: 'docker.io/bitnami/kubectl' name: 'deploy'