Add more architectures, moved to docker baker build system

This commit is contained in:
Pau Rodriguez-Estivill
2020-02-11 18:45:46 +01:00
parent bac1647953
commit f7301fd81e
7 changed files with 180 additions and 19 deletions
+90
View File
@@ -0,0 +1,90 @@
group "default" {
targets = ["debian-latest", "alpine-latest", "debian-11", "debian-10", "debian-9.6", "debian-9.5", "debian-9.4", "alpine-11", "alpine-10", "alpine-9.6", "alpine-9.5", "alpine-9.4"]
}
target "common" {
platforms = ["linux/amd64", "linux/arm64", "linux/arm/v7"]
args = {"GOCRONVER" = "v0.0.8"}
}
target "debian" {
inherits = ["common"]
dockerfile = "Dockerfile-debian"
}
target "alpine" {
inherits = ["common"]
dockerfile = "Dockerfile-alpine"
}
target "debian-latest" {
inherits = ["debian"]
args = {"BASETAG" = "12"}
tags = ["prodrigestivill/postgres-backup-local:latest", "prodrigestivill/postgres-backup-local:12"]
}
target "alpine-latest" {
inherits = ["alpine"]
args = {"BASETAG" = "12-alpine"}
tags = ["prodrigestivill/postgres-backup-local:alpine", "prodrigestivill/postgres-backup-local:12-alpine"]
}
target "debian-11" {
inherits = ["debian"]
args = {"BASETAG" = "11"}
tags = ["prodrigestivill/postgres-backup-local:11"]
}
target "alpine-11" {
inherits = ["alpine"]
args = {"BASETAG" = "11-alpine"}
tags = ["prodrigestivill/postgres-backup-local:11-alpine"]
}
target "debian-10" {
inherits = ["debian"]
args = {"BASETAG" = "10"}
tags = ["prodrigestivill/postgres-backup-local:10"]
}
target "alpine-10" {
inherits = ["alpine"]
args = {"BASETAG" = "10-alpine"}
tags = ["prodrigestivill/postgres-backup-local:10-alpine"]
}
target "debian-9.6" {
inherits = ["debian"]
args = {"BASETAG" = "9.6"}
tags = ["prodrigestivill/postgres-backup-local:9.6"]
}
target "alpine-9.6" {
inherits = ["alpine"]
args = {"BASETAG" = "9.6-alpine"}
tags = ["prodrigestivill/postgres-backup-local:9.6-alpine"]
}
target "debian-9.5" {
inherits = ["debian"]
args = {"BASETAG" = "9.5"}
tags = ["prodrigestivill/postgres-backup-local:9.5"]
}
target "alpine-9.5" {
inherits = ["alpine"]
args = {"BASETAG" = "9.5-alpine"}
tags = ["prodrigestivill/postgres-backup-local:9.5-alpine"]
}
target "debian-9.4" {
inherits = ["debian"]
args = {"BASETAG" = "9.4"}
tags = ["prodrigestivill/postgres-backup-local:9.4"]
}
target "alpine-9.4" {
inherits = ["alpine"]
args = {"BASETAG" = "9.4-alpine"}
tags = ["prodrigestivill/postgres-backup-local:9.4-alpine"]
}