Skip to content

Commit

Permalink
latest branch logic fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chubing authored Jul 26, 2022
1 parent 49e6a42 commit f2ae278
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 @@ -21,7 +21,7 @@ node {
def tag

// Tag images created on master branch with 'latest'
if(env.BRANCH_NAME == "master"){
if(env.BRANCH_NAME == "main"){
tag = "latest"
}else{
tag = env.BRANCH_NAME
Expand Down

0 comments on commit f2ae278

Please sign in to comment.