Files
homepage/Jenkinsfile
T
Georgios Jason Efstathiou d018bafc9d
Gitea/homepage/pipeline/head There was a failure building this commit
change things
2024-12-22 20:10:40 +01:00

21 lines
356 B
Groovy

pipeline {
agent any
stages {
stage('Clone repository') {
checkout scm
}
stage('Build image') {
app = docker.build("efstajas/homepage")
}
stage('Push image') {
docker.withRegistry('https://registry.hub.docker.com', 'git') {
app.push("${env.BUILD_NUMBER}")
app.push("latest")
}
}
}
}