From c7da441dc0bc6553d517a059f55dc3f2f7af8bee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Haso=C5=88?= Date: Wed, 13 Mar 2024 14:37:36 +0100 Subject: [PATCH] Improve CI add build_parents input --- .github/workflows/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7723bc6..8bb4f8e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,6 +3,10 @@ name: docker on: push: workflow_dispatch: + inputs: + build_parents: + description: 'Build parents images' + type: boolean schedule: - cron: '0 12 * * *' @@ -17,5 +21,6 @@ jobs: - env: DOCKER_LOGIN: ${{ secrets.DOCKER_LOGIN }} DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} + BUILD_PARENTS: ${{ github.event.inputs.build_parents }} DOCKER_PLATFORM: linux/amd64 run: bash ./run github:build_and_push