docker-avif-webp/Jenkinsfile
2021-03-25 03:34:29 +01:00

32 lines
1022 B
Groovy

pipeline {
agent any
stages {
stage('Cloning our Git') {
steps {
checkout([$class: 'GitSCM',
branches: [[name: '*/master']],
doGenerateSubmoduleConfigurations: false,
extensions: [[$class: 'SubmoduleOption',
disableSubmodules: false,
parentCredentials: false,
recursiveSubmodules: true,
reference: '',
trackingSubmodules: false]],
submoduleCfg: [],
userRemoteConfigs: [[url: 'https://git.tobiasmanske.de/user/rad4day/public/docker-alpine-avif-webp/']]])
}
}
stage('Build HTML') {
steps {
script {
dockerImage = docker.build("alpine-avif-webp:latest")
docker.withRegistry('https://registry.chaoswg.org:5000', 'docker-registry-credentials') {
dockerImage.push()
}
}
}
}
}
}