From 84e12b079958eaf71b98791ef8f99cd582ca7226 Mon Sep 17 00:00:00 2001 From: xZero707 Date: Mon, 28 Oct 2024 23:04:16 +0100 Subject: [PATCH] Deprecate docker hub builds --- README.md | 1 + build/docker-bake.hcl | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6c6eeb3..994b3ae 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ Ready-to-use images: ```shell ghcr.io/n0rthernl1ghts/unit-php ``` +**Warning:** Docker Hub images are deprecated and no longer maintained due to their hostility towards open-source community. Supported PHP versions: - PHP7.4 diff --git a/build/docker-bake.hcl b/build/docker-bake.hcl index 992ad49..396bfac 100644 --- a/build/docker-bake.hcl +++ b/build/docker-bake.hcl @@ -35,7 +35,7 @@ target "build-common" { } variable "REGISTRY_CACHE" { - default = "docker.io/nlss/unit-php-cache" + default = "ghcr.io/n0rthernl1ghts/unit-php-cache" } ###################### @@ -75,12 +75,10 @@ function "get-tags" { params = [version, extra_versions] result = concat( [ - "docker.io/nlss/unit-php:${version}", "ghcr.io/n0rthernl1ghts/unit-php:${version}" ], flatten([ for extra_version in extra_versions : [ - "docker.io/nlss/unit-php:${extra_version}", "ghcr.io/n0rthernl1ghts/unit-php:${extra_version}" ] ])