Compare commits
No commits in common. "cb914671d234046c28dec3bddc98863cae7cb54c" and "b7e016ed1be2cf7bdf3d41281f4a51fcd0cbfd61" have entirely different histories.
cb914671d2
...
b7e016ed1b
2 changed files with 9 additions and 31 deletions
|
@ -1,22 +0,0 @@
|
|||
pipeline:
|
||||
build:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
repo: git.dreamfall.space/${CI_REPO_OWNER}/clacksme
|
||||
registry: git.dreamfall.space
|
||||
tag: latest
|
||||
username: ${CI_REPO_OWNER}
|
||||
password:
|
||||
from_secret: git_token
|
||||
|
||||
notify:
|
||||
image: deblan/woodpecker-email
|
||||
settings:
|
||||
from: woodpecker@clacks.network
|
||||
host: smtp.migadu.com
|
||||
username:
|
||||
from_secret: smtp_user
|
||||
password:
|
||||
from_secret: smtp_pass
|
||||
recipients:
|
||||
- morgan@clacks.network
|
18
Jenkinsfile
vendored
18
Jenkinsfile
vendored
|
@ -4,7 +4,7 @@ pipeline {
|
|||
stage('Build docker image') {
|
||||
agent { label 'docker-build' }
|
||||
steps {
|
||||
// mattermostSend "Docker build started - ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)"
|
||||
mattermostSend "Docker build started - ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)"
|
||||
script {
|
||||
docker.withRegistry('https://git.dreamfall.space/thrrgilag', 'docker-gitea-creds') {
|
||||
def customImage = docker.build("git.dreamfall.space/thrrgilag/clacksme:latest")
|
||||
|
@ -12,14 +12,14 @@ pipeline {
|
|||
}
|
||||
}
|
||||
}
|
||||
// post {
|
||||
// success {
|
||||
// mattermostSend color: "good", message: "Docker build success - ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)"
|
||||
// }
|
||||
// failure {
|
||||
// mattermostSend color: "danger", message: "Docker build failure - ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)"
|
||||
// }
|
||||
// }
|
||||
post {
|
||||
success {
|
||||
mattermostSend color: "good", message: "Docker build success - ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)"
|
||||
}
|
||||
failure {
|
||||
mattermostSend color: "danger", message: "Docker build failure - ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue