From 4a39a3ab206cfdf26ed0788ad363d7a5835627a0 Mon Sep 17 00:00:00 2001 From: tsubramanian Date: Fri, 1 Sep 2023 07:10:02 +0530 Subject: [PATCH] docker build branch fix docker build branch fix --- .github/workflows/docker-publish.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-publish.yaml b/.github/workflows/docker-publish.yaml index 6dddf8873..049ea3caa 100644 --- a/.github/workflows/docker-publish.yaml +++ b/.github/workflows/docker-publish.yaml @@ -2,9 +2,12 @@ name: Build and upload Docker on: push: - branches: - - whaleridgefindr-build - + branches: + - main + tags: + - v* + schedule: + - cron: '0 0 * * *' # Every day at midnight jobs: devops: @@ -21,7 +24,7 @@ jobs: - uses: actions/checkout@v2 if: github.event_name == 'schedule' with: - ref: whaleridgefindr-build + ref: main - uses: actions/checkout@v2 if: github.event_name != 'schedule'