forked from spotahome/redis-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The git HEAD SHA should be the tag of the image.
- Loading branch information
1 parent
f8902ea
commit 702d9ca
Showing
3 changed files
with
48 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// Special target: https://github.com/docker/metadata-action#bake-definition | ||
target "docker-metadata-action" {} | ||
|
||
// Default target if none specified | ||
group "default" { | ||
targets = ["build-local"] | ||
} | ||
|
||
target "build-operator" { | ||
inherits = ["docker-metadata-action"] | ||
dockerfile = "docker/app/Dockerfile" | ||
} | ||
|
||
target "build-local" { | ||
inherits = ["build-operator"] | ||
output = ["type=docker"] | ||
} | ||
|
||
target "build" { | ||
inherits = ["build-operator"] | ||
platforms = [ | ||
"linux/amd64", | ||
"linux/arm/v6", | ||
"linux/arm/v7", | ||
"linux/arm64", | ||
"linux/386" | ||
] | ||
} |