diff --git a/.github/workflows/flowzone.yml b/.github/workflows/flowzone.yml index 3ed107163..9324257b9 100644 --- a/.github/workflows/flowzone.yml +++ b/.github/workflows/flowzone.yml @@ -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 diff --git a/docker-bake.hcl b/docker-bake.hcl new file mode 100644 index 000000000..dabc3169a --- /dev/null +++ b/docker-bake.hcl @@ -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" + ] +}