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 30, 2024
1 parent 0008306 commit a660e46
Show file tree
Hide file tree
Showing 2 changed files with 39 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: default,yocto-block-build-env,balena-push-env,generate-ami-env
35 changes: 35 additions & 0 deletions docker-bake.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
target "default" {
context = "automation"
dockerfile = "Dockerfile_yocto-build-env"
platforms = [
"linux/amd64",
"linux/arm64"
]
}

target "yocto-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"
]
}

0 comments on commit a660e46

Please sign in to comment.