diff --git a/.drone.yml b/.drone.yml index 7e9134b..c650ef9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,16 +1,2 @@ ---- -kind: pipeline -type: kubernetes -name: default - -steps: -- name: docker - image: plugins/docker - settings: - repo: harbor.k-space.ee/${DRONE_REPO} - registry: harbor.k-space.ee - mtu: 1300 - username: - from_secret: docker_username - password: - from_secret: docker_password +kind: template +load: docker-multiarch.yaml diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index 97c9939..0000000 --- a/Jenkinsfile +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/groovy -image = "goredirect" -label = "latest" -build = null - -node { - stage("Checkout") { - checkout scm - } - - stage("Build") { - build = docker.build("kspaceee/${image}") - } - - stage("Push") { - docker.withRegistry("https://registry.hub.docker.com", "dockerhub-kspace") { - build.push(label) - } - } -} diff --git a/README.md b/README.md new file mode 100644 index 0000000..ea602c7 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# Mongo backed URL redirector + +Used to handle k6.ee/1234 short URL-s used on QR codes at k-space.ee