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

14 lines
393 B
Groovy

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