Docker Image CI #31460
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
name: Docker Image CI | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '*/30 * * * *' | |
jobs: | |
build_backend: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build Backend Images | |
run: export DOCKER_BUILDKIT=1; docker build --no-cache --target php_prod -t backend . | |
build_caddy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build Caddy Images | |
run: export DOCKER_BUILDKIT=1; docker build --no-cache --target caddy_prod -t caddy . | |
build_nginx: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build Caddy Images | |
run: export DOCKER_BUILDKIT=1; docker build --no-cache --target nginx_prod -t nginx . |