diff --git a/Jenkinsfile b/Jenkinsfile index a23028a..8f5302a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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() } }