2025-03-06 16:03:07 +01:00
|
|
|
pipeline {
|
2025-06-03 19:10:54 +02:00
|
|
|
agent { label 'linux-aarch64' }
|
2025-06-03 18:52:56 +02:00
|
|
|
environment {
|
2025-06-03 19:03:17 +02:00
|
|
|
GIT_REF = """${sh(
|
|
|
|
returnStdout: true,
|
|
|
|
script: 'git describe --tags --exact-match 2>/dev/null || git symbolic-ref --short HEAD'
|
|
|
|
).trim()}"""
|
2025-06-03 18:52:56 +02:00
|
|
|
}
|
2025-03-06 16:03:07 +01:00
|
|
|
stages {
|
2025-06-03 15:37:00 +00:00
|
|
|
stage('Build') {
|
2025-03-06 16:03:07 +01:00
|
|
|
steps {
|
2025-06-03 18:49:18 +02:00
|
|
|
sh "podman build -t docker.io/thallian/atuin:${env.GIT_REF} ."
|
2025-03-06 16:03:07 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2025-06-03 18:38:40 +02:00
|
|
|
}
|