Skip to content

fix: 8.1

fix: 8.1 #77

Workflow file for this run

name: build
on:
workflow_dispatch:
push:
branches:
- 'main'
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: "Docker Pull"
run: |
docker pull adhocore/phpfpm:8.0 || true
docker pull adhocore/phpfpm:8.1 || true
docker pull adhocore/phpfpm:8.2 || true
docker pull adhocore/phpfpm:8.3 || true
# - name: "[8.3] Build and push"
# id: docker_build_83
# uses: docker/build-push-action@v4
# with:
# push: true
# file: 8.3.Dockerfile
# tags: adhocore/phpfpm:8.3,adhocore/phpfpm:latest
# platforms: linux/amd64,linux/arm64
# - name: "[8.2] Build and push"
# id: docker_build_82
# uses: docker/build-push-action@v4
# with:
# push: true
# file: 8.2.Dockerfile
# tags: adhocore/phpfpm:8.2
# platforms: linux/amd64,linux/arm64
- name: "[8.1] Build and push"
id: docker_build_81
uses: docker/build-push-action@v4
with:
push: true
file: 8.1.Dockerfile
tags: adhocore/phpfpm:8.1
platforms: linux/amd64,linux/arm64
- name: "[8.0] Build and push"
id: docker_build_80
uses: docker/build-push-action@v4
with:
push: true
file: 8.0.Dockerfile
tags: adhocore/phpfpm:8.0
platforms: linux/amd64,linux/arm64