Add tentative ghcr image support

This commit is contained in:
Greyscale 2022-08-28 11:48:34 +02:00
parent ccd7c8cdc7
commit b6ba03ff50
No known key found for this signature in database
GPG key ID: 74BAFF55434DA4B2
2 changed files with 24 additions and 12 deletions
.github/workflows
bake.hcl

View file

@ -20,6 +20,12 @@ jobs:
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
- uses: docker/login-action@v1
name: Login to Github Container Registry
with:
registry: ghcr.io
username: ${{ secrets.GHCR_USERNAME }}
password: ${{ secrets.GHCR_PASSWORD }}
- uses: php-actions/composer@v6
with:
php_version: 8.1

View file

@ -19,7 +19,10 @@ target "postgres-14" {
context = "."
dockerfile = "Dockerfile.postgres"
platforms = ["arm64","amd64"]
tags = ["benzine/postgres:14", "benzine/postgres:latest"]
tags = [
"benzine/postgres:14", "benzine/postgres:latest",
"ghcr.io/benzine-framework/s3db:postgres-14", "ghcr.io/benzine-framework/s3db:postgres"
]
args = {
PGSQL_VERSION = 14
}
@ -29,7 +32,7 @@ target "postgres-13" {
context = "."
dockerfile = "Dockerfile.postgres"
platforms = ["arm64","amd64"]
tags = ["benzine/postgres:13"]
tags = ["benzine/postgres:13", "ghcr.io/benzine-framework/s3db:postgres-13"]
args = {
PGSQL_VERSION = 13
}
@ -39,7 +42,7 @@ target "postgres-12" {
context = "."
dockerfile = "Dockerfile.postgres"
platforms = ["arm64","amd64"]
tags = ["benzine/postgres:12"]
tags = ["benzine/postgres:12", "ghcr.io/benzine-framework/s3db:postgres-12"]
args = {
PGSQL_VERSION = 12
}
@ -49,7 +52,7 @@ target "postgres-11" {
context = "."
dockerfile = "Dockerfile.postgres"
platforms = ["arm64","amd64"]
tags = ["benzine/postgres:11"]
tags = ["benzine/postgres:11", "ghcr.io/benzine-framework/s3db:postgres-11"]
args = {
PGSQL_VERSION = 11
}
@ -59,7 +62,7 @@ target "postgres-10" {
context = "."
dockerfile = "Dockerfile.postgres"
platforms = ["arm64","amd64"]
tags = ["benzine/postgres:10"]
tags = ["benzine/postgres:10", "ghcr.io/benzine-framework/s3db:postgres-10"]
args = {
PGSQL_VERSION = 10
}
@ -69,7 +72,10 @@ target "mariadb-10-9" {
context = "."
dockerfile = "Dockerfile.mariadb"
platforms = ["arm64", "amd64"]
tags = ["benzine/mariadb:10.9", "benzine/mariadb:latest"]
tags = [
"benzine/mariadb:10.9", "benzine/mariadb:latest",
"ghcr.io/benzine-framework/s3db:mariadb-10.9", "ghcr.io/benzine-framework/s3db:mariadb",
]
args = {
MARIADB_VERSION=10.9
}
@ -78,7 +84,7 @@ target "mariadb-10-8" {
context = "."
dockerfile = "Dockerfile.mariadb"
platforms = ["arm64", "amd64"]
tags = ["benzine/mariadb:10.8"]
tags = ["benzine/mariadb:10.8", "ghcr.io/benzine-framework/s3db:mariadb-10.8"]
args = {
MARIADB_VERSION=10.8
}
@ -87,7 +93,7 @@ target "mariadb-10-7" {
context = "."
dockerfile = "Dockerfile.mariadb"
platforms = ["arm64", "amd64"]
tags = ["benzine/mariadb:10.7"]
tags = ["benzine/mariadb:10.7", "ghcr.io/benzine-framework/s3db:mariadb-10.7"]
args = {
MARIADB_VERSION=10.7
}
@ -96,7 +102,7 @@ target "mariadb-10-6" {
context = "."
dockerfile = "Dockerfile.mariadb"
platforms = ["arm64", "amd64"]
tags = ["benzine/mariadb:10.6"]
tags = ["benzine/mariadb:10.6", "ghcr.io/benzine-framework/s3db:mariadb-10.6"]
args = {
MARIADB_VERSION=10.6
}
@ -105,7 +111,7 @@ target "mariadb-10-5" {
context = "."
dockerfile = "Dockerfile.mariadb"
platforms = ["arm64", "amd64"]
tags = ["benzine/mariadb:10.5"]
tags = ["benzine/mariadb:10.5", "ghcr.io/benzine-framework/s3db:mariadb-10.5"]
args = {
MARIADB_VERSION=10.5
}
@ -114,7 +120,7 @@ target "mariadb-10-4" {
context = "."
dockerfile = "Dockerfile.mariadb"
platforms = ["arm64", "amd64"]
tags = ["benzine/mariadb:10.4"]
tags = ["benzine/mariadb:10.4", "ghcr.io/benzine-framework/s3db:mariadb-10.4"]
args = {
MARIADB_VERSION=10.4
}
@ -123,7 +129,7 @@ target "mariadb-10-3" {
context = "."
dockerfile = "Dockerfile.mariadb"
platforms = ["arm64", "amd64"]
tags = ["benzine/mariadb:10.3"]
tags = ["benzine/mariadb:10.3", "ghcr.io/benzine-framework/s3db:mariadb-10.3"]
args = {
MARIADB_VERSION=10.3
}