Skip to content

php 8.2

php 8.2 #15

Workflow file for this run

## https://github.com/docker/build-push-action
name: php 8.2
## 手动调度
on: workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- name: Check out the repo
uses: actions/checkout@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
-
name: Login to cr.console.aliyun.com
uses: docker/login-action@v2
with:
registry: registry.cn-hangzhou.aliyuncs.com
username: ${{ secrets.DOCKER_ALIYUN_USERNAME }}
password: ${{ secrets.DOCKER_ALIYUN_PASSWORD }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
build-args: |
SWOOLE_VERSION=5.1.1
context: .
file: Dockerfile.8.2-fpm
push: true
tags: |
lzh1104/php-rc:8.2-fpm
registry.cn-hangzhou.aliyuncs.com/lzh1104/php-rc:8.2-fpm
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
build-args: |
SWOW_VERSION=1.4.1
USE_SWOW=swow
context: .
file: Dockerfile.8.2-fpm
push: true
tags: |
lzh1104/php-rc:8.2-fpm-swow
registry.cn-hangzhou.aliyuncs.com/lzh1104/php-rc:8.2-fpm-swow