Update CI pipelines
continuous-integration/drone Build is failing
Details
continuous-integration/drone Build is failing
Details
This commit is contained in:
parent
9a8cd85eb3
commit
322f373598
18
.drone.yml
18
.drone.yml
|
@ -1,16 +1,2 @@
|
||||||
---
|
kind: template
|
||||||
kind: pipeline
|
load: docker-multiarch.yaml
|
||||||
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
|
|
||||||
|
|
|
@ -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)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue