From d1b8ddd0e4310f84c83237028d70459da5274a17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20H=C3=A1la?= Date: Thu, 7 Dec 2023 12:07:59 +0100 Subject: [PATCH] Small enhancements to building actions (#360) * Use SHA only for scheduled builds * Run scheduled build daily --- .github/workflows/build-images-base.yaml | 2 +- .github/workflows/build-images-scheduled.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-images-base.yaml b/.github/workflows/build-images-base.yaml index ae6221d5e..c39ee77fe 100644 --- a/.github/workflows/build-images-base.yaml +++ b/.github/workflows/build-images-base.yaml @@ -63,7 +63,7 @@ on: type: string env: - IMG_TAGS: ${{ github.sha }} ${{ inputs.kuadrantOperatorTag }} + IMG_TAGS: ${{ inputs.kuadrantOperatorTag }} VERSION: ${{ inputs.kuadrantOperatorVersion }} IMG_REGISTRY_HOST: quay.io IMG_REGISTRY_ORG: kuadrant diff --git a/.github/workflows/build-images-scheduled.yaml b/.github/workflows/build-images-scheduled.yaml index 0999ae549..cd28ee18c 100644 --- a/.github/workflows/build-images-scheduled.yaml +++ b/.github/workflows/build-images-scheduled.yaml @@ -2,7 +2,7 @@ name: Schedule build with latest image SHA versions on: schedule: - - cron: '0 0 * * 0' + - cron: '0 1 * * *' jobs: workflow-build: