Skip to content

Commit

Permalink
Upgrade to PHP 8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesChou committed Apr 9, 2024
1 parent bf4ec31 commit d3fe2bf
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,17 @@ jobs:
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: mileschou/composer
tags: "latest,8.1"
tags: "latest,8.2"
username: mileschou
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
dockerfile: 8.0/Dockerfile
dockerfile: 8.2/Dockerfile

build:
runs-on: ubuntu-latest
strategy:
matrix:
version: ["8.0", "7.4", "7.3", "7.2", "7.1", "7.0", "5.6", "5.5"]
version: ["8.1", "8.0", "7.4", "7.3", "7.2", "7.1", "7.0", "5.6", "5.5"]
steps:
- uses: actions/checkout@v3
- name: Build PHP ${{ matrix.version }} and publish to GitHub Registry
Expand All @@ -45,16 +46,17 @@ jobs:
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: mileschou/composer
tags: "v1,8.1-v1"
tags: "v1,8.2-v1"
username: mileschou
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
dockerfile: 8.1/v1/Dockerfile
dockerfile: 8.2/v1/Dockerfile

build_v1:
runs-on: ubuntu-latest
strategy:
matrix:
version: ["8.0", "7.4", "7.3", "7.2", "7.1", "7.0", "5.6"]
version: ["8.1", "8.0", "7.4", "7.3", "7.2", "7.1", "7.0", "5.6"]
steps:
- uses: actions/checkout@v3
- name: Build PHP ${{ matrix.version }} and publish to GitHub Registry
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ See [GitHub Container Registry](https://github.com/users/MilesChou/packages/cont

**Notice:** Default tags is using Composer v2.

* [`latest`, `8.1` (8.0/Dockerfile)](https://github.com/MilesChou/composer-action/blob/master/8.1/Dockerfile)
* [`latest`, `8.2` (8.2/Dockerfile)](https://github.com/MilesChou/composer-action/blob/master/8.2/Dockerfile)
* [`8.1` (8.1/Dockerfile)](https://github.com/MilesChou/composer-action/blob/master/8.1/Dockerfile)
* [`8.0` (8.0/Dockerfile)](https://github.com/MilesChou/composer-action/blob/master/8.0/Dockerfile)
* [`7.4` (7.4/Dockerfile)](https://github.com/MilesChou/composer-action/blob/master/7.4/Dockerfile)
* [`7.3` (7.3/Dockerfile)](https://github.com/MilesChou/composer-action/blob/master/7.3/Dockerfile)
Expand All @@ -92,7 +93,8 @@ See [GitHub Container Registry](https://github.com/users/MilesChou/packages/cont

Here is tags for using Composer v1:

* [`v1`, `8.1-v1` (8.0/Dockerfile)](https://github.com/MilesChou/composer-action/blob/master/8.1/Dockerfile)
* [`v1`, `8.2-v1` (8.2/Dockerfile)](https://github.com/MilesChou/composer-action/blob/master/8.2/Dockerfile)
* [`8.1-v1` (8.1/Dockerfile)](https://github.com/MilesChou/composer-action/blob/master/8.1/Dockerfile)
* [`8.0-v1` (8.0/Dockerfile)](https://github.com/MilesChou/composer-action/blob/master/8.0/Dockerfile)
* [`7.4-v1` (7.4/Dockerfile)](https://github.com/MilesChou/composer-action/blob/master/7.4/Dockerfile)
* [`7.3-v1` (7.3/Dockerfile)](https://github.com/MilesChou/composer-action/blob/master/7.3/Dockerfile)
Expand Down

0 comments on commit d3fe2bf

Please sign in to comment.