This commit is contained in:
parent
9a8cd85eb3
commit
322f373598
18
.drone.yml
18
.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
|
||||
|
20
Jenkinsfile
vendored
20
Jenkinsfile
vendored
@ -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
Block a user