From 40d7ee99c96d5662b8a073b6575a801d75c3667c Mon Sep 17 00:00:00 2001 From: Aetherinox Date: Sun, 1 Dec 2024 12:46:35 -0700 Subject: [PATCH] ci: add push workflow trigger --- .github/workflows/deploy-docker-main.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/deploy-docker-main.yml b/.github/workflows/deploy-docker-main.yml index a1b4e2c1..d7c9be4f 100644 --- a/.github/workflows/deploy-docker-main.yml +++ b/.github/workflows/deploy-docker-main.yml @@ -144,12 +144,12 @@ jobs: - name: "🪪 Debug › Print" id: task_release_gh_print run: | - echo "registry ............. Github" - echo "github.actor.......... ${{ github.actor }}" - echo "github.ref ........... ${{ github.ref }}" - echo "github.event_name .... ${{ github.event_name }}" - echo "tags ................. ${{ steps.task_release_gh_meta.outputs.tags }}" - echo "labels ............... ${{ steps.task_release_gh_meta.outputs.labels }}" + echo "registry ............. Github" + echo "github.actor.......... ${{ github.actor }}" + echo "github.ref ........... ${{ github.ref }}" + echo "github.event_name .... ${{ github.event_name }}" + echo "tags ................. ${{ steps.task_release_gh_meta.outputs.tags }}" + echo "labels ............... ${{ steps.task_release_gh_meta.outputs.labels }}" # # # Release > Github > Build and Push @@ -158,7 +158,7 @@ jobs: - name: "📦 Build and push" id: task_release_gh_push uses: docker/build-push-action@v3 - if: ( github.event_name == 'workflow_dispatch' && inputs.PRINT_ONLY == 'false' ) + if: ( github.event_name == 'workflow_dispatch' && inputs.PRINT_ONLY == 'false' ) || ( github.event_name == 'push' ) with: context: . file: Dockerfile @@ -267,7 +267,7 @@ jobs: - name: "📦 Build and push" id: task_release_dh_push uses: docker/build-push-action@v3 - if: ( github.event_name == 'workflow_dispatch' && inputs.PRINT_ONLY == 'false' ) + if: ( github.event_name == 'workflow_dispatch' && inputs.PRINT_ONLY == 'false' ) || ( github.event_name == 'push' ) with: context: . file: Dockerfile