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 { dockerImage = docker.build("alpine-avif-webp:latest") docker.withRegistry('https://registry.chaoswg.org:5000', 'docker-registry-credentials') { dockerImage.push() } } } } }