From 0271fb3dfe7e92d368b255d75b2ecc966d3a5e19 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Mon, 3 Jul 2023 10:39:15 +0200 Subject: [PATCH] [CI] Added drone config and fixed badge url in README --- .drone.yml | 32 ++++++++++++++++++++++++++++++++ README.md | 3 +-- 2 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..f00d4a7 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,32 @@ +--- +kind: 'pipeline' +name: 'build' +type: 'kubernetes' + +steps: + +# build and publish +- image: 'docker.io/plugins/docker' + name: 'publish' + pull: 'always' + settings: + + # registery and repos + registry: 'cr.simoncor.net' + repo: 'cr.simoncor.net/siempie/roundcube' + mtu: '1440' + + # build stuff + dockerfile: 'Dockerfile.linux.amd64' + daemon_off: 'false' + + # authentication + username: + from_secret: 'docker_username' + password: + from_secret: 'docker_password' + + # tags + tags: + - 'v1' + - 'latest' diff --git a/README.md b/README.md index 69bb261..c03613e 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,4 @@ -[![Build Status](https://ci.simoncor.net/api/badges/siempie/hugo-sws/status.svg)](https://ci.simoncor.net/siempie/hugo-sws) - +[![Build Status](https://ci.simoncor.net/api/badges/siempie/roundcube/status.svg)](https://ci.simoncor.net/siempie/roundcube) Simple container with Roundcube and plugins pre-installed. | package | version | link |