This commit is contained in:
Robin 2021-08-24 22:55:04 +02:00
parent 1d2f20bc43
commit 399cf06ea6
2 changed files with 30 additions and 19 deletions

View File

@ -33,13 +33,20 @@ First, follow regular update instructions on the website (uploading files etc).
## Available tags ## Available tags
| Tag | NamelessMC version | PHP version | Receives updates\* | Notes | Tag | NamelessMC version | PHP version | Receives updates\* | Notes
| --- | ------------------ | ----------- | ---------------- | ----- | --- | ------------------ | ----------- | ---------------- | -----
v2-pr7 | v2.0.0-pr7 | 7.4 | Yes | Old **v2-pr11** | **v2.0.0-pr11** | **8.0** | **Yes** | **Recommended**
v2-pr8 | v2.0.0-pr8 | 7.4 | Yes | Old v2-pr11-php74 | v2.0.0-pr11 | 7.4 | Yes | For compatibility with legacy modules
v2-pr9 | v2.0.0-pr9 | 7.4 | Yes | Old
v2-pr9-php8 | v2.0.0-pr9 | 8.0 | Yes | Old, php 7.4 recommended
**v2-pr10** | **v2.0.0-pr10** | **8.0** | **Yes** | **Recommended**
v2-pr10-php74 | v2.0.0-pr10 | 7.4 | Yes | Use if you experience php 8 related bugs
dev | v2 development | 7.4 | Yes | Testing only, reinstall frequently. dev | v2 development | 7.4 | Yes | Testing only, reinstall frequently.
dev-php8 | v2 development | 8.0 | Yes | Testing only, reinstall frequently. dev-php8 | v2 development | 8.0 | Yes | Testing only, reinstall frequently.
\* Image updates, not NamelessMC updates ### Legacy tags
| Tag | NamelessMC version | PHP version | Receives updates\* | Notes
| --- | ------------------ | ----------- | ---------------- | -----
v2-pr7 | v2.0.0-pr7 | 7.4 | Yes |
v2-pr8 | v2.0.0-pr8 | 7.4 | Yes |
v2-pr9 | v2.0.0-pr9 | 7.4 | Yes |
v2-pr9-php8 | v2.0.0-pr9 | 8.0 | Yes | Experimental
v2-pr10 | v2.0.0-pr10 | 8.0 | Yes | Use PHP 7.4 for compatibility
v2-pr10-php74 | v2.0.0-pr10 | 7.4 | Yes |
\* Image updates, not NamelessMC updates. Only the latest NamelessMC version is supported.

View File

@ -10,21 +10,23 @@ set -e
export DOCKER_CLI_EXPERIMENTAL=enabled export DOCKER_CLI_EXPERIMENTAL=enabled
docker buildx build \ docker buildx build \
-t namelessmc/nginx:v2-pr7 \ -t namelessmc/nginx:v2-pr7 \
-t namelessmc/nginx:v2-pr8 \ -t namelessmc/nginx:v2-pr8 \
-t namelessmc/nginx:v2-pr9 \ -t namelessmc/nginx:v2-pr9 \
-t namelessmc/nginx:v2-pr9-php8 \ -t namelessmc/nginx:v2-pr9-php8 \
-t namelessmc/nginx:v2-pr10 \ -t namelessmc/nginx:v2-pr10 \
-t namelessmc/nginx:v2-pr10-php74 \ -t namelessmc/nginx:v2-pr10-php74 \
-t namelessmc/nginx:dev \ -t namelessmc/nginx:v2-pr11 \
-t namelessmc/nginx:dev-php8 \ -t namelessmc/nginx:v2-pr11-php74 \
--platform=linux/arm,linux/arm64,linux/amd64 nginx_web --push -t namelessmc/nginx:dev \
-t namelessmc/nginx:dev-php8 \
--platform=linux/arm,linux/arm64,linux/amd64 nginx_web --push
deploy_php(){ deploy_php(){
docker buildx build \ docker buildx build \
-t namelessmc/php:$1 \ -t namelessmc/php:$1 \
--build-arg PHP_VERSION=$2 --build-arg VERSION=$3 \ --build-arg PHP_VERSION=$2 --build-arg VERSION=$3 \
--platform=linux/arm,linux/arm64,linux/amd64 php_fpm --push --platform=linux/arm,linux/arm64,linux/amd64 php_fpm --push
} }
# Tag PHP NamelessMC # Tag PHP NamelessMC
@ -34,5 +36,7 @@ deploy_php v2-pr9 7.4 v2.0.0-pr9
deploy_php v2-pr9-php8 8.0 v2.0.0-pr9 deploy_php v2-pr9-php8 8.0 v2.0.0-pr9
deploy_php v2-pr10 8.0 v2.0.0-pr10 deploy_php v2-pr10 8.0 v2.0.0-pr10
deploy_php v2-pr10-php74 7.4 v2.0.0-pr10 deploy_php v2-pr10-php74 7.4 v2.0.0-pr10
deploy_php v2-pr11 8.0 v2.0.0-pr11
deploy_php v2-pr11-php74 7.4 v2.0.0-pr11
deploy_php dev 7.4 v2 deploy_php dev 7.4 v2
deploy_php dev-php8 8.0 v2 deploy_php dev-php8 8.0 v2