Skip to content

Commit

Permalink
fix(ci): include complete as supported variant on merges (#27572)
Browse files Browse the repository at this point in the history
* fix(ci): include complete as supported variant on merges

* chore: simplify

(cherry picked from commit 5937778)
  • Loading branch information
mdelapenya authored and mergify-bot committed Aug 26, 2021
1 parent 93ecb14 commit 1ee1ddc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,12 @@ def tagAndPush(Map args = [:]) {
}
// supported image flavours
def variants = ["", "-oss", "-ubi8"]

// only add complete variant for the elastic-agent
if(beatName == 'elastic-agent'){
variants.add("-complete")
}

variants.each { variant ->
tags.each { tag ->
doTagAndPush(beatName: beatName, variant: variant, sourceTag: libbetaVer, targetTag: "${tag}-${arch}")
Expand Down

0 comments on commit 1ee1ddc

Please sign in to comment.