Rebuild against updated base image #777
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: | |
PHP84: '8.4.2' | |
PHP83: '8.3.15' | |
PHP82: '8.2.27' | |
PHP81: '8.1.31' | |
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} | |
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} | |
jobs: | |
php84: | |
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.PHP84 }} | |
tags: 8.4,8,latest | |
workdir: 8 | |
platform: linux/amd64,linux/arm64 | |
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 | |
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 | |
php84-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.PHP84 }} | |
dev: 1 | |
tags: 8.4-dev,8-dev,dev | |
workdir: 8 | |
platform: linux/amd64,linux/arm64 | |
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 | |
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 | |
php84-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.PHP84 }} | |
dev: 1 | |
user_id: 501 | |
group_id: 20 | |
tags: 8.4-dev-macos,8-dev-macos,dev-macos | |
workdir: 8 | |
platform: linux/amd64,linux/arm64 | |
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 | |
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 |