[#13] Fixed URL and credentials
All checks were successful
Amarillo/amarillo-gitea/amarillo-core/pipeline/head This commit looks good

This commit is contained in:
Csaba 2023-12-20 14:11:31 +01:00
parent 0c31ec731b
commit 37b7075e30

4
Jenkinsfile vendored
View file

@ -3,7 +3,7 @@ pipeline {
environment {
GITEA_CREDS = credentials('AMARILLO-JENKINS-GITEA-USER')
TWINE_REPO_URL = "https://git.gerhardt.io/api/packages/amarillo/pypi"
REGISTRY_URL = 'git.gerhardt.io'
REGISTRY_URL = 'https://git.gerhardt.io'
OWNER = 'amarillo'
IMAGE_NAME = "amarillo"
TAG = 'latest'
@ -53,7 +53,7 @@ pipeline {
steps {
echo 'Pushing image to registry'
script {
docker.withRegistry(REGISTRY_URL, GITEA_CREDS){
docker.withRegistry(REGISTRY_URL, 'AMARILLO-JENKINS-GITEA-USER'){
docker.image("${OWNER}/${IMAGE_NAME}:${TAG}").push()
}
}