Skip to content

Update docker, php and docu #25

Update docker, php and docu

Update docker, php and docu #25

Workflow file for this run

# 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@v3
- 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@v3
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@v3
- 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@v3
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@v3
- 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@v3
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@v3
- 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@v3
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@v3
- 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@v3
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@v3
- 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@v3
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