Skip to content
Permalink
Browse files
latest branch logic fix
  • Loading branch information
chubing committed Jul 26, 2022
1 parent 49e6a42 commit f2ae278a590ab60b53cbd27fcf1723a0fd535886
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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

0 comments on commit f2ae278

Please sign in to comment.