ebs/.github/workflows/build.yml
2024-07-31 13:39:37 +02:00

33 lines
874 B
YAML

name: Build
on:
workflow_call:
jobs:
build-push-php:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Build/Push
uses: coopTilleuls/action-docker-build-push@v10
with:
IMAGE_NAME: plateforme-ebs-php
BUILD_CONTEXT: .
BUILD_TARGET: app_php
REGISTRY_JSON_KEY: ${{ secrets.GITHUB_TOKEN }}
IMAGE_REPOSITORY: ghcr.io/Tipimi-fr
build-push-caddy:
# Same Dockerfile as php, with a build target which is after
needs: [build-push-php]
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Build/Push
uses: coopTilleuls/action-docker-build-push@v10
with:
IMAGE_NAME: plateforme-ebs-caddy
BUILD_CONTEXT: .
BUILD_TARGET: app_caddy
REGISTRY_JSON_KEY: ${{ secrets.GITHUB_TOKEN }}
IMAGE_REPOSITORY: ghcr.io/Tipimi-fr