fix docker image build
All checks were successful
dreamfall/clacksme/pipeline/head This commit looks good
All checks were successful
dreamfall/clacksme/pipeline/head This commit looks good
This commit is contained in:
parent
6b77d41da2
commit
62b8ff1ab2
1 changed files with 1 additions and 4 deletions
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
|
@ -1,8 +1,5 @@
|
|||
pipeline {
|
||||
agent none
|
||||
environment {
|
||||
IMAGE_TAG = "git.dreamfall.space/thrrgilag/clacksme:latest"
|
||||
}
|
||||
stages {
|
||||
stage('Build docker image') {
|
||||
agent { label 'docker-build' }
|
||||
|
@ -10,7 +7,7 @@ pipeline {
|
|||
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(${env.IMAGE_TAG})
|
||||
def customImage = docker.build("git.dreamfall.space/thrrgilag/clacksme:latest")
|
||||
customImage.push()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue