Skip to content

Commit

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

* fix(ci): include complete as supported variant on merges

* chore: simplify

(cherry picked from commit 5937778)

Co-authored-by: Manuel de la Peña <mdelapenya@gmail.com>
  • Loading branch information
mergify[bot] and mdelapenya authored Oct 19, 2021
1 parent 2e35d6c commit bce52a4
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 @@ -458,6 +458,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 bce52a4

Please sign in to comment.