Skip to content

Commit

Permalink
Build and publish helper images with Flowzone
Browse files Browse the repository at this point in the history
Rather than build helper images on demand, we will
publish them to ghcr.io with every revision of this project.

Change-type: minor
Signed-off-by: Kyle Harding <[email protected]>
  • Loading branch information
klutchell committed Jan 31, 2024
1 parent 0008306 commit aefbae3
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/flowzone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,7 @@ jobs:
github.event_name == 'pull_request_target'
)
secrets: inherit
with:
docker_images: |
ghcr.io/balena-os/balena-yocto-scripts
bake_targets: yocto-build-env,block-build-env,balena-push-env,generate-ami-env,balena-img-s3
1 change: 1 addition & 0 deletions automation/Dockerfile_balena-img-s3
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
FROM balena/balena-img:6.20.26
44 changes: 44 additions & 0 deletions docker-bake.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
target "yocto-build-env" {
context = "automation"
dockerfile = "Dockerfile_yocto-build-env"
platforms = [
"linux/amd64",
// "linux/arm64"
]
}

target "block-build-env" {
context = "automation"
dockerfile = "Dockerfile_yocto-block-build-env"
platforms = [
"linux/amd64",
// "linux/arm64"
]
}

target "balena-push-env" {
context = "automation"
dockerfile = "Dockerfile_balena-push-env"
platforms = [
"linux/amd64",
// "linux/arm64"
]
}

target "generate-ami-env" {
context = "automation"
dockerfile = "Dockerfile_balena-generate-ami-env"
platforms = [
"linux/amd64",
// "linux/arm64"
]
}

target "balena-img-s3" {
context = "automation"
dockerfile = "Dockerfile_balena-img-s3"
platforms = [
"linux/amd64",
"linux/arm64"
]
}

0 comments on commit aefbae3

Please sign in to comment.