Skip to content

Commit

Permalink
Make sure all platforms are build for buildpack-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorific committed Nov 20, 2023
1 parent 7004e3f commit c4786e2
Showing 1 changed file with 32 additions and 4 deletions.
36 changes: 32 additions & 4 deletions buildpack-deps/ubuntu/jammy/docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,40 @@ target "default" {
]
}

group "local" {
targets = ["curl", "scm", "default"]
target "local-curl" {
inherits = ["curl"]
platforms = ["${LOCAL_PLATFORM}"]
}

group "default" {
targets = ["curl", "scm", "default"]
target "local-scm" {
inherits = ["scm"]
platforms = ["${LOCAL_PLATFORM}"]
}

target "local-default" {
inherits = ["default"]
platforms = ["${LOCAL_PLATFORM}"]
}

target "release-curl" {
inherits = ["curl"]
platforms = ["linux/amd64", "linux/arm64/v8", "linux/arm/v7"]
}

target "release-scm" {
inherits = ["scm"]
platforms = ["linux/amd64", "linux/arm64/v8", "linux/arm/v7"]
}

target "release-default" {
inherits = ["default"]
platforms = ["linux/amd64", "linux/arm64/v8", "linux/arm/v7"]
}

group "local" {
targets = ["local-curl", "local-scm", "local-default"]
}

group "default" {
targets = ["release-curl", "release-scm", "release-default"]
}

0 comments on commit c4786e2

Please sign in to comment.