Skip to content

Commit

Permalink
ironbank: rename ubi9 to ubi image (elastic#37153)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored and Scholar-Li committed Feb 5, 2024
1 parent 6d9d12d commit c5fc5ef
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .ci/packaging.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ def linuxPlatforms() {
def pushCIDockerImages(Map args = [:]) {
def arch = args.get('arch', 'amd64')
catchError(buildResult: 'UNSTABLE', message: 'Unable to push Docker images', stageResult: 'FAILURE') {
def defaultVariants = [ '' : 'beats', '-oss' : 'beats', '-ubi9' : 'beats' ]
def defaultVariants = [ '' : 'beats', '-oss' : 'beats', '-ubi' : 'beats' ]
if (env?.BEATS_FOLDER?.endsWith('auditbeat')) {
tagAndPush(beatName: 'auditbeat', arch: arch, variants: defaultVariants)
} else if (env?.BEATS_FOLDER?.endsWith('filebeat')) {
Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ def pushCIDockerImages(Map args = [:]) {
def arch = args.get('arch', 'amd64')
def beatsFolder = args.beatsFolder
catchError(buildResult: 'UNSTABLE', message: 'Unable to push Docker images', stageResult: 'FAILURE') {
def defaultVariants = [ '' : 'beats', '-oss' : 'beats', '-ubi9' : 'beats' ]
def defaultVariants = [ '' : 'beats', '-oss' : 'beats', '-ubi' : 'beats' ]
if (beatsFolder.endsWith('auditbeat')) {
tagAndPush(beatName: 'auditbeat', arch: arch, variants: defaultVariants)
} else if (beatsFolder.endsWith('filebeat')) {
Expand Down
4 changes: 2 additions & 2 deletions dev-tools/packaging/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,12 @@ shared:

- &docker_ubi_spec
extra_vars:
image_name: '{{.BeatName}}-ubi9'
image_name: '{{.BeatName}}-ubi'
from: 'docker.elastic.co/ubi9/ubi-minimal'

- &docker_arm_ubi_spec
extra_vars:
image_name: '{{.BeatName}}-ubi9'
image_name: '{{.BeatName}}-ubi'
from: 'registry.access.redhat.com/ubi9/ubi-minimal:9.3'

- &elastic_docker_spec
Expand Down

0 comments on commit c5fc5ef

Please sign in to comment.