Compare commits

..

2 commits

Author SHA1 Message Date
mrilyew
26832d1cd7
Merge c332510b24 into 9b53839192 2024-11-02 13:29:10 +03:00
9b53839192
ci(build-base): add ability to manually dispatch builds 2024-11-02 12:43:11 +03:00

View file

@ -2,7 +2,8 @@ name: Build base images
on:
schedule:
- cron: '0 0 * * *'
- cron: "0 0 * * *"
workflow_dispatch:
env:
BASE_IMAGE_NAME: php
@ -16,10 +17,10 @@ jobs:
- uses: actions/checkout@v3
with:
lfs: false
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
@ -38,7 +39,7 @@ jobs:
IMAGE_NAME=ghcr.io/${{ steps.repositorystring.outputs.lowercase }}/$BASE_IMAGE_NAME:$BASE_IMAGE_VERSION-cli
docker buildx build --platform linux/amd64,linux/arm64 -t $IMAGE_NAME . --push -f install/automated/docker/base-php-cli.Dockerfile --build-arg VERSION=$BASE_IMAGE_VERSION
build-apache:
runs-on: ubuntu-latest
@ -46,14 +47,14 @@ jobs:
- uses: actions/checkout@v3
with:
lfs: false
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Change repository string to lowercase
id: repositorystring
uses: Entepotenz/change-string-case-action-min-dependencies@v1.1.0