Skip to content

Commit

Permalink
Add osbuild-ci images based on c8s and c9s
Browse files Browse the repository at this point in the history
Signed-off-by: Tomáš Hozza <[email protected]>
  • Loading branch information
thozza committed Jan 17, 2024
1 parent 13c129e commit db081dd
Showing 1 changed file with 30 additions and 4 deletions.
34 changes: 30 additions & 4 deletions docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,9 @@ target "nfsd-latest" {

group "all-osbuild-ci" {
targets = [
"osbuild-ci-latest",
"osbuild-ci-fedora-latest",
"osbuild-ci-c8s-latest",
"osbuild-ci-c9s-latest",
]
}

Expand Down Expand Up @@ -299,15 +301,39 @@ target "virtual-osbuild-ci" {
]
}

target "osbuild-ci-latest" {
target "osbuild-ci-fedora-latest" {
args = {
OSB_FROM = "docker.io/library/fedora:latest",
OSB_FROM = "registry.fedoraproject.org/fedora:latest",
}
inherits = [
"virtual-osbuild-ci",
]
tags = concat(
mirror("osbuild-ci-fedora", "latest", "", OSB_UNIQUEID),
)
}

target "osbuild-ci-c8s-latest" {
args = {
OSB_FROM = "quay.io/centos/centos:stream8",
}
inherits = [
"virtual-osbuild-ci",
]
tags = concat(
mirror("osbuild-ci-c8s", "latest", "", OSB_UNIQUEID),
)
}

target "osbuild-ci-c9s-latest" {
args = {
OSB_FROM = "quay.io/centos/centos:stream8",
}
inherits = [
"virtual-osbuild-ci",
]
tags = concat(
mirror("osbuild-ci", "latest", "", OSB_UNIQUEID),
mirror("osbuild-ci-c9s", "latest", "", OSB_UNIQUEID),
)
}

Expand Down

0 comments on commit db081dd

Please sign in to comment.