Skip to content

Add unit v1.33.0

Add unit v1.33.0 #7

Workflow file for this run

name: Docker Publish
on:
push:
branches:
- 'main'
paths-ignore:
- '**/README.md'
jobs:
docker:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['8.2', '8.3']
unit: ['1.33.0', '1.32.1', '1.32.0', '1.31.1', '1.30.0']
exclude:
- php: '8.3'
unit: '1.31.1'
- php: '8.3'
unit: '1.30.0'
name: PHP ${{ matrix.php }} - Unit ${{ matrix.unit }}
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 Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v4
with:
context: .
push: true
build-args: |
UNIT_VERSION=${{ matrix.unit }}
PHP_VERSION=${{ matrix.php }}
tags: ${{ secrets.DOCKERHUB_USERNAME }}/nginx-unit-php:${{ matrix.php }}-unit${{ matrix.unit }}