From 872dd86741e030d9518e5a8c5fb5ffd03e1885a8 Mon Sep 17 00:00:00 2001 From: Sirius Date: Mon, 25 Sep 2023 00:59:05 +0200 Subject: [PATCH] Add drone workflow --- .drone.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000000..8ec28b4dc6 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,27 @@ +--- +kind: pipeline +type: docker +name: build + +steps: + - name: "Build Image" + image: "plugins/docker:20.14.4" + environment: + DOCKER_BUILDKIT: 1 + settings: + registry: git.rabbithole.cyou + repo: git.rabbithole.cyou/paravielfalt/mastodon + config: + from_secret: docker_hub_credentials_dockerconfig + username: + from_secret: gitea_docker_registry_username + password: + from_secret: gitea_docker_registry_password + tags: + - "${DRONE_TAG}" + force_tag: true + dockerfile: Dockerfile + depends_on: ["Replace version tag"] + +trigger: + event: [tag]