From 67887a8ba9ba9a5f47edd4b9b9bbb8c12dae931d Mon Sep 17 00:00:00 2001 From: tsubramanian Date: Mon, 28 Aug 2023 20:43:15 +0530 Subject: [PATCH] Update docker-publish.yaml --- .github/workflows/docker-publish.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-publish.yaml b/.github/workflows/docker-publish.yaml index 37f46a620..6dddf8873 100644 --- a/.github/workflows/docker-publish.yaml +++ b/.github/workflows/docker-publish.yaml @@ -64,13 +64,13 @@ jobs: password: ${{ secrets.GHCR_PAT }} - name: Push to Docker Hub (Nightly) - if: github.event_name == 'schedule' + if: github.event_name == 'push' run: bash devops/publish.sh -t nightly ${PUBLISH_IMAGES} env: PUBLISH_IMAGES: ${{ matrix.images }} wildbook-ia - name: Push to GitHub Packages (Nightly) - if: github.event_name == 'schedule' + if: github.event_name == 'push' run: bash devops/publish.sh -t nightly -r ghcr.io/wildmeorg/wildbook-ia ${PUBLISH_IMAGES} env: PUBLISH_IMAGES: ${{ matrix.images }} wildbook-ia