Skip to content

Commit

Permalink
Deprecate docker hub builds
Browse files Browse the repository at this point in the history
  • Loading branch information
xZero707 committed Oct 28, 2024
1 parent 0f9f594 commit 84e12b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions build/docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ target "build-common" {
}

variable "REGISTRY_CACHE" {
default = "docker.io/nlss/unit-php-cache"
default = "ghcr.io/n0rthernl1ghts/unit-php-cache"
}

######################
Expand Down Expand Up @@ -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}"
]
])
Expand Down

0 comments on commit 84e12b0

Please sign in to comment.