Rebuild against updated base image #726
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build docker image | |
on: | |
push: | |
branches: | |
- master | |
tags: | |
- '*' | |
pull_request: | |
env: | |
PHP83: '8.3.12' | |
PHP82: '8.2.24' | |
PHP81: '8.1.30' | |
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} | |
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} | |
jobs: | |
php83: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: '8' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: docker/setup-qemu-action@v3 | |
with: | |
platforms: linux/amd64,linux/arm64 | |
- uses: docker/setup-buildx-action@v3 | |
- uses: ./.github/actions | |
with: | |
version: ${{ env.PHP83 }} | |
tags: 8.3,8,latest | |
workdir: 8 | |
platform: linux/amd64,linux/arm64 | |
php82: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: '8' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: docker/setup-qemu-action@v3 | |
with: | |
platforms: linux/amd64,linux/arm64 | |
- uses: docker/setup-buildx-action@v3 | |
- uses: ./.github/actions | |
with: | |
version: ${{ env.PHP82 }} | |
tags: 8.2 | |
workdir: 8 | |
platform: linux/amd64,linux/arm64 | |
php81: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: '8' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: docker/setup-qemu-action@v3 | |
with: | |
platforms: linux/amd64,linux/arm64 | |
- uses: docker/setup-buildx-action@v3 | |
- uses: ./.github/actions | |
with: | |
version: ${{ env.PHP81 }} | |
tags: 8.1 | |
workdir: 8 | |
platform: linux/amd64,linux/arm64 | |
### dev | |
php83-dev: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: '8' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: docker/setup-qemu-action@v3 | |
with: | |
platforms: linux/amd64,linux/arm64 | |
- uses: docker/setup-buildx-action@v3 | |
- uses: ./.github/actions | |
with: | |
version: ${{ env.PHP83 }} | |
dev: 1 | |
tags: 8.3-dev,8-dev,dev | |
workdir: 8 | |
platform: linux/amd64,linux/arm64 | |
php82-dev: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: '8' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: docker/setup-qemu-action@v3 | |
with: | |
platforms: linux/amd64,linux/arm64 | |
- uses: docker/setup-buildx-action@v3 | |
- uses: ./.github/actions | |
with: | |
version: ${{ env.PHP82 }} | |
dev: 1 | |
tags: 8.2-dev | |
workdir: 8 | |
platform: linux/amd64,linux/arm64 | |
php81-dev: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: '8' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: docker/setup-qemu-action@v3 | |
with: | |
platforms: linux/amd64,linux/arm64 | |
- uses: docker/setup-buildx-action@v3 | |
- uses: ./.github/actions | |
with: | |
version: ${{ env.PHP81 }} | |
dev: 1 | |
tags: 8.1-dev | |
workdir: 8 | |
platform: linux/amd64,linux/arm64 | |
### dev-macos | |
php83-dev-macos: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: '8' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: docker/setup-qemu-action@v3 | |
with: | |
platforms: linux/amd64,linux/arm64 | |
- uses: docker/setup-buildx-action@v3 | |
- uses: ./.github/actions | |
with: | |
version: ${{ env.PHP83 }} | |
dev: 1 | |
user_id: 501 | |
group_id: 20 | |
tags: 8.3-dev-macos,8-dev-macos,dev-macos | |
workdir: 8 | |
platform: linux/amd64,linux/arm64 | |
php82-dev-macos: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: '8' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: docker/setup-qemu-action@v3 | |
with: | |
platforms: linux/amd64,linux/arm64 | |
- uses: docker/setup-buildx-action@v3 | |
- uses: ./.github/actions | |
with: | |
version: ${{ env.PHP82 }} | |
dev: 1 | |
user_id: 501 | |
group_id: 20 | |
tags: 8.2-dev-macos | |
workdir: 8 | |
platform: linux/amd64,linux/arm64 | |
php81-dev-macos: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: '8' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: docker/setup-qemu-action@v3 | |
with: | |
platforms: linux/amd64,linux/arm64 | |
- uses: docker/setup-buildx-action@v3 | |
- uses: ./.github/actions | |
with: | |
version: ${{ env.PHP81 }} | |
dev: 1 | |
user_id: 501 | |
group_id: 20 | |
tags: 8.1-dev-macos | |
workdir: 8 | |
platform: linux/amd64,linux/arm64 |