Skip to content

Commit

Permalink
Merge pull request #6 from FortnoxAB/feature/jenkins-fix
Browse files Browse the repository at this point in the history
Fix jenkins
  • Loading branch information
Elliot-Gustafsson authored Nov 25, 2024
2 parents 1dedc05 + 37038dc commit 4969a3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ node('go1.23') {
sh('make test')
}

if (env.BRANCH_NAME == 'main') {
if (env.BRANCH_NAME == 'main' && tag != '') {
stage('Generate and push docker image'){
docker.withRegistry("https://quay.io", 'docker-registry') {
strippedTag = tag.replaceFirst('v', '')
Expand Down

0 comments on commit 4969a3f

Please sign in to comment.