Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #11 from docker/1.11.0
latest branch logic fix
chubing committed Jul 26, 2022
2 parents b56ad6a + f2ae278 commit fd47970
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
@@ -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 fd47970

Please sign in to comment.