Bake file
This commit is contained in:
parent
1f74963881
commit
98910a1ef0
2 changed files with 25 additions and 1 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -19,5 +19,5 @@ jobs:
|
|||
- name: Bake
|
||||
uses: docker/bake-action@v2.1.0
|
||||
with:
|
||||
#files: bake.yml
|
||||
files: bake.hcl
|
||||
push: true
|
||||
|
|
24
bake.hcl
Normal file
24
bake.hcl
Normal file
|
@ -0,0 +1,24 @@
|
|||
# docker-bake.dev.hcl
|
||||
group "default" {
|
||||
targets = ["postgres-14", "postgres-13"]
|
||||
}
|
||||
|
||||
target "postgres-14" {
|
||||
context = "."
|
||||
dockerfile = "Dockerfile"
|
||||
platforms = ["arm64","amd64"]
|
||||
tags = ["benzine/postgres:14", "benzine/postgres:latest"]
|
||||
args = {
|
||||
PGSQL_VERSION = 14
|
||||
}
|
||||
}
|
||||
|
||||
target "postgres-13" {
|
||||
context = "."
|
||||
dockerfile = "Dockerfile"
|
||||
platforms = ["arm64","amd64"]
|
||||
tags = ["benzine/postgres:13", "benzine/postgres:latest"]
|
||||
args = {
|
||||
PGSQL_VERSION = 13
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue