ARM builds + nginx 1.18.0 and PHP 7.4.8
This commit is contained in:
@@ -4,7 +4,6 @@ services:
|
|||||||
|
|
||||||
stages:
|
stages:
|
||||||
- build_latest
|
- build_latest
|
||||||
- build_tags
|
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- echo Logging in to $CI_REGISTRY...
|
- echo Logging in to $CI_REGISTRY...
|
||||||
@@ -15,18 +14,6 @@ build_latest:
|
|||||||
stage: build_latest
|
stage: build_latest
|
||||||
script:
|
script:
|
||||||
- echo Build started on `date` for $CI_COMMIT_REF_NAME
|
- echo Build started on `date` for $CI_COMMIT_REF_NAME
|
||||||
- docker build -t richarvey/nginx-php-fpm:latest .
|
- ./build.sh
|
||||||
- docker images
|
|
||||||
- docker push "$CI_REGISTRY_IMAGE":latest
|
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
build_tags:
|
|
||||||
stage: build_tags
|
|
||||||
script:
|
|
||||||
- echo Build started on `date` for $CI_COMMIT_REF_NAME
|
|
||||||
- docker build -t richarvey/nginx-php-fpm:"$CI_COMMIT_REF_NAME" .
|
|
||||||
- docker images
|
|
||||||
- docker push "$CI_REGISTRY_IMAGE":"$CI_COMMIT_REF_NAME"
|
|
||||||
only:
|
|
||||||
- tags
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ If you have improvements or suggestions please open an issue or pull request on
|
|||||||
### Versioning
|
### Versioning
|
||||||
| Docker Tag | Git Release | Nginx Version | PHP Version | Alpine Version |
|
| Docker Tag | Git Release | Nginx Version | PHP Version | Alpine Version |
|
||||||
|-----|-------|-----|--------|--------|
|
|-----|-------|-----|--------|--------|
|
||||||
| latest/1.9.1 | Master Branch |1.16.1 | 7.4.5 | 3.11 |
|
| latest/1.10.0 | Master Branch |1.18.0 | 7.4.8 | 3.12 |
|
||||||
|
|
||||||
For other tags please see: [versioning](https://gitlab.com/ric_harvey/nginx-php-fpm/blob/master/docs/versioning.md)
|
For other tags please see: [versioning](https://gitlab.com/ric_harvey/nginx-php-fpm/blob/master/docs/versioning.md)
|
||||||
|
|
||||||
|
|||||||
13
build.sh
Executable file
13
build.sh
Executable file
@@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
version=`cat version`
|
||||||
|
|
||||||
|
# Set up environment
|
||||||
|
docker version
|
||||||
|
docker buildx ls
|
||||||
|
docker buildx create --name phpbuilder
|
||||||
|
docker buildx use phpbuilder
|
||||||
|
|
||||||
|
echo "Building: PHP Container"
|
||||||
|
docker buildx build --platform linux/amd64,linux/arm64 -t "richarvey/nginx-php-fpm:'$VERSION'" -t richarvey/nginx-php-fpm:latest --push .
|
||||||
|
|
||||||
@@ -19,6 +19,7 @@ The latest tag will always follow the master branch in git. the other versions w
|
|||||||
|-----|-------|-----|--------|--------|----------|
|
|-----|-------|-----|--------|--------|----------|
|
||||||
| 1.9.0 | 7.4.2 |1.16.1 | 3.11 | 0.3.13 | upgrade to PHP 7.4.2 |
|
| 1.9.0 | 7.4.2 |1.16.1 | 3.11 | 0.3.13 | upgrade to PHP 7.4.2 |
|
||||||
| 1.9.1 | 7.4.5 |1.16.1 | 3.11 | 0.3.13 | upgrade to PHP 7.4.5 |
|
| 1.9.1 | 7.4.5 |1.16.1 | 3.11 | 0.3.13 | upgrade to PHP 7.4.5 |
|
||||||
|
| 1.10.0 | 7.4.5 |1.18.0 | 3.12 | 0.3.13 | PHP 7.4.8 + Nginx 1.18.0 + arm builds |
|
||||||
|
|
||||||
These tags will be created on GitLab and as tags in docker hub.
|
These tags will be created on GitLab and as tags in docker hub.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user