ci: add push workflow trigger

This commit is contained in:
2024-12-01 12:46:35 -07:00
parent db874f997a
commit 40d7ee99c9

View File

@@ -144,12 +144,12 @@ jobs:
- name: "🪪 Debug Print" - name: "🪪 Debug Print"
id: task_release_gh_print id: task_release_gh_print
run: | run: |
echo "registry ............. Github" echo "registry ............. Github"
echo "github.actor.......... ${{ github.actor }}" echo "github.actor.......... ${{ github.actor }}"
echo "github.ref ........... ${{ github.ref }}" echo "github.ref ........... ${{ github.ref }}"
echo "github.event_name .... ${{ github.event_name }}" echo "github.event_name .... ${{ github.event_name }}"
echo "tags ................. ${{ steps.task_release_gh_meta.outputs.tags }}" echo "tags ................. ${{ steps.task_release_gh_meta.outputs.tags }}"
echo "labels ............... ${{ steps.task_release_gh_meta.outputs.labels }}" echo "labels ............... ${{ steps.task_release_gh_meta.outputs.labels }}"
# # # #
# Release > Github > Build and Push # Release > Github > Build and Push
@@ -158,7 +158,7 @@ jobs:
- name: "📦 Build and push" - name: "📦 Build and push"
id: task_release_gh_push id: task_release_gh_push
uses: docker/build-push-action@v3 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: with:
context: . context: .
file: Dockerfile file: Dockerfile
@@ -267,7 +267,7 @@ jobs:
- name: "📦 Build and push" - name: "📦 Build and push"
id: task_release_dh_push id: task_release_dh_push
uses: docker/build-push-action@v3 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: with:
context: . context: .
file: Dockerfile file: Dockerfile