Update docker php82 to 8.2.18, php83 to 8.3.6 and other needed packages #32
Workflow file for this run
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
# Docker | |
# Build and push php images to Docker Hub | |
name: Build and push | |
on: | |
push: | |
paths: | |
- 'build/**' | |
- '.github/**' | |
branches: | |
- 'main' | |
tags: | |
- '*' | |
jobs: | |
php82-cli-base: | |
name: Build and push php82 cli base image | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and push | |
uses: docker/build-push-action@v5 | |
with: | |
context: ./build/php82/cli/base | |
file: ./build/php82/cli/base/Dockerfile | |
cache-from: type=gha,scope=php82-cli | |
cache-to: type=gha,scope=php82-cli,mode=max | |
push: true | |
tags: anzusystems/php:${{ github.ref_name }}-php82-cli,anzusystems/php:latest-php82-cli | |
php82-cli-vipsffmpeg: | |
name: Build and push php82 cli vipsffmpeg image | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and push | |
uses: docker/build-push-action@v5 | |
with: | |
context: ./build/php82/cli/vipsffmpeg | |
file: ./build/php82/cli/vipsffmpeg/Dockerfile | |
cache-from: type=gha,scope=php82-cli-vipsffmpeg | |
cache-to: type=gha,scope=php82-cli-vipsffmpeg,mode=max | |
push: true | |
tags: anzusystems/php:${{ github.ref_name }}-php82-cli-vipsffmpeg,anzusystems/php:latest-php82-cli-vipsffmpeg | |
php82-fpm-vipsffmpeg-nginx: | |
name: Build and push php82 fpm vipsffmpeg-nginx image | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and push | |
uses: docker/build-push-action@v5 | |
with: | |
context: ./build/php82/fpm/vipsffmpeg-nginx | |
file: ./build/php82/fpm/vipsffmpeg-nginx/Dockerfile | |
cache-from: type=gha,scope=php82-fpm-vipsffmpeg-nginx | |
cache-to: type=gha,scope=php82-fpm-vipsffmpeg-nginx,mode=max | |
push: true | |
tags: anzusystems/php:${{ github.ref_name }}-php82-fpm-vipsffmpeg-nginx,anzusystems/php:latest-php82-fpm-vipsffmpeg-nginx | |
php83-cli-base: | |
name: Build and push php83 cli base image | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and push | |
uses: docker/build-push-action@v5 | |
with: | |
context: ./build/php83/cli/base | |
file: ./build/php83/cli/base/Dockerfile | |
cache-from: type=gha,scope=php83-cli | |
cache-to: type=gha,scope=php83-cli,mode=max | |
push: true | |
tags: anzusystems/php:${{ github.ref_name }}-php83-cli,anzusystems/php:latest-php83-cli | |
php83-cli-vipsffmpeg: | |
name: Build and push php83 cli vipsffmpeg image | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and push | |
uses: docker/build-push-action@v5 | |
with: | |
context: ./build/php83/cli/vipsffmpeg | |
file: ./build/php83/cli/vipsffmpeg/Dockerfile | |
cache-from: type=gha,scope=php83-cli-vipsffmpeg | |
cache-to: type=gha,scope=php83-cli-vipsffmpeg,mode=max | |
push: true | |
tags: anzusystems/php:${{ github.ref_name }}-php83-cli-vipsffmpeg,anzusystems/php:latest-php83-cli-vipsffmpeg | |
php83-fpm-vipsffmpeg-nginx: | |
name: Build and push php83 fpm vipsffmpeg-nginx image | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and push | |
uses: docker/build-push-action@v5 | |
with: | |
context: ./build/php83/fpm/vipsffmpeg-nginx | |
file: ./build/php83/fpm/vipsffmpeg-nginx/Dockerfile | |
cache-from: type=gha,scope=php83-fpm-vipsffmpeg-nginx | |
cache-to: type=gha,scope=php83-fpm-vipsffmpeg-nginx,mode=max | |
push: true | |
tags: anzusystems/php:${{ github.ref_name }}-php83-fpm-vipsffmpeg-nginx,anzusystems/php:latest-php83-fpm-vipsffmpeg-nginx | |