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

12 lines
389 B
Groovy

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