10
0

Update CI pipelines
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
Lauri Võsandi 2023-03-13 06:15:30 +02:00
parent 9a8cd85eb3
commit 322f373598
3 changed files with 5 additions and 36 deletions

View File

@ -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

20
Jenkinsfile vendored
View File

@ -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)
}
}
}

3
README.md Normal file
View File

@ -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