chore: debug Jenkinsfile
Some checks failed
Gitea/docker-base-images/jenkins-ssh-agent-jdk17-dind/pipeline/head There was a failure building this commit

This commit is contained in:
amorozov 2025-03-03 02:57:10 +03:00
parent 12bbeeb5fa
commit fdbf1cd52e

3
Jenkinsfile vendored
View File

@ -37,6 +37,9 @@ pipeline {
tag "${env.RELEASE_TAG_PREFIX}*"
}
steps {
sh "whoami"
sh 'Home: $HOME'
sh 'awk -F: -v user=$(whoami) '$1 == user { print $6 }' /etc/passwd'
sh "docker login ${env.REGISTRY_HOST} -u ${env.GITEA_USER} -p ${env.GITEA_OAUTH_TOKEN}"
sh "docker image push ${resolveImageName(env)}"
}