From d7040d00500c49fafe11e99c927eb2240bab9dc8 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 2617cd0..05b7f76 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,4 +21,5 @@ jobs: - env: DOCKER_LOGIN: ${{ secrets.DOCKER_LOGIN }} DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} + BUILD_PARENTS: ${{ github.event.inputs.build_parents }} run: bash ./run github:build_and_push