Bake file

This commit is contained in:
Greyscale 2022-08-23 14:29:35 +02:00
parent 1f74963881
commit 98910a1ef0
No known key found for this signature in database
GPG key ID: 74BAFF55434DA4B2
2 changed files with 25 additions and 1 deletions
.github/workflows
bake.hcl

View file

@ -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
View 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
}
}