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

17 lines
456 B
Groovy

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