atuin/Jenkinsfile
Sebastian Hugentobler 05923d07a9
Some checks are pending
Build Multiarch Container Image / call-reusable-workflow (push) Waiting to run
try git ref
2025-06-03 19:10:54 +02:00

16 lines
433 B
Groovy

pipeline {
agent { label 'linux-aarch64' }
environment {
GIT_REF = """${sh(
returnStdout: true,
script: 'git describe --tags --exact-match 2>/dev/null || git symbolic-ref --short HEAD'
).trim()}"""
}
stages {
stage('Build') {
steps {
sh "podman build -t docker.io/thallian/atuin:${env.GIT_REF} ."
}
}
}
}