Skip to content

Commit

Permalink
ci(build-base): add ability to manually dispatch builds
Browse files Browse the repository at this point in the history
  • Loading branch information
WerySkok committed Nov 2, 2024
1 parent fab39bd commit 9b53839
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/build-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: Build base images

on:
schedule:
- cron: '0 0 * * *'
- cron: "0 0 * * *"
workflow_dispatch:

env:
BASE_IMAGE_NAME: php
Expand All @@ -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
Expand All @@ -38,22 +39,22 @@ 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

steps:
- 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/[email protected]
Expand Down

0 comments on commit 9b53839

Please sign in to comment.