chore: debug Jenkinsfile
Some checks failed
Gitea/docker-base-images/jenkins-ssh-agent-jdk17-dind/pipeline/head There was a failure building this commit
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:
parent
12bbeeb5fa
commit
fdbf1cd52e
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -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)}"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user