Skip to content

8.1, 8.2, 8.3

8.1, 8.2, 8.3 #1

Workflow file for this run

name: Build Docker images for PHP 8.3
on:
push:
branches:
- master
paths:
- .github/workflows/build-8.3.yml
- build/**
- php8.3/**
workflow_dispatch:
jobs:
build-docker-php80:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
# PHP 8.3
- name: Build and push - frxyt/php-dev:8.3-apache
uses: docker/build-push-action@v2
with:
context: .
file: ./php8.3/Dockerfile-apache
push: true
platforms: linux/amd64,linux/arm64
tags: |
frxyt/php-dev:8.3
frxyt/php-dev:8.3-apache
frxyt/php-dev:8.3-apache-bullseye
- name: Build and push - frxyt/php-dev:8.3-cli
uses: docker/build-push-action@v2
with:
context: .
file: ./php8.3/Dockerfile-cli
push: true
platforms: linux/amd64,linux/arm64
tags: |
frxyt/php-dev:8.3-cli
frxyt/php-dev:8.3-cli-bullseye
- name: Build and push - frxyt/php-dev:8.3-fpm
uses: docker/build-push-action@v2
with:
context: .
file: ./php8.3/Dockerfile-fpm
push: true
platforms: linux/amd64,linux/arm64
tags: |
frxyt/php-dev:8.3-fpm
frxyt/php-dev:8.3-fpm-bullseye