Skip to content

Commit

Permalink
fix(ci): Also push main image to latest, will eventually be replaced …
Browse files Browse the repository at this point in the history
…by version if I can be bothered
  • Loading branch information
archessmn committed Mar 19, 2024
1 parent e2734f8 commit cbd165d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ pipeline{
script {
docker.withRegistry("https://ghcr.io", "ghcr_login") {
app.push("${imageTag}")
if (env.BRANCH_NAME == 'main') {
app.push('latest')
}
}
}
}
Expand Down

0 comments on commit cbd165d

Please sign in to comment.