From 9c8e2e62034b3319402f4802d6906f2e08976b66 Mon Sep 17 00:00:00 2001 From: Albert Copeland <124551390+iFargle@users.noreply.github.com> Date: Thu, 9 Feb 2023 11:16:53 +0900 Subject: [PATCH] Add Github push to Jenkinsfile --- Jenkinsfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 801d0c0..c2beff4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -47,6 +47,9 @@ pipeline { docker.withRegistry('https://git.sysctl.io/', 'gitea-jenkins-pat') { dockerImage.push("latest") } + docker.withRegistry('https://ghcr.io/', 'github-ifargle-pat') { + dockerImage.push("latest") + } } else { docker.withRegistry('https://git.sysctl.io/', 'gitea-jenkins-pat') { dockerImage.push("${env.BRANCH_NAME}-${env.BUILD_ID}") @@ -56,4 +59,4 @@ pipeline { } } } -} \ No newline at end of file +}