generate avif on build
This commit is contained in:
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
@ -24,7 +24,16 @@ pipeline {
|
||||
|
||||
stage('Build HTML') {
|
||||
steps {
|
||||
script {
|
||||
docker.withRegistry('https://registry.chaoswg.org:5000', 'docker-registry-credentials') {
|
||||
def dockerImage = docker.image('registry.chaoswg.org:5000/alpine-avif-webp:latest')
|
||||
dockerImage.pull()
|
||||
}
|
||||
}
|
||||
|
||||
sh 'docker pull klakegg/hugo:alpine'
|
||||
|
||||
sh 'docker run -u 108:116 -v "$PWD:/src" registry.chaoswg.org:5000/alpine-avif-webp:latest'
|
||||
sh 'docker run -u 108:116 -v "$PWD:/src" klakegg/hugo:alpine'
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user