Skip to content

Commit 40d7ee9

Browse files
committed
ci: add push workflow trigger
1 parent db874f9 commit 40d7ee9

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/deploy-docker-main.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -144,12 +144,12 @@ jobs:
144144
- name: "🪪 Debug › Print"
145145
id: task_release_gh_print
146146
run: |
147-
echo "registry ............. Github"
148-
echo "github.actor.......... ${{ github.actor }}"
149-
echo "github.ref ........... ${{ github.ref }}"
150-
echo "github.event_name .... ${{ github.event_name }}"
151-
echo "tags ................. ${{ steps.task_release_gh_meta.outputs.tags }}"
152-
echo "labels ............... ${{ steps.task_release_gh_meta.outputs.labels }}"
147+
echo "registry ............. Github"
148+
echo "github.actor.......... ${{ github.actor }}"
149+
echo "github.ref ........... ${{ github.ref }}"
150+
echo "github.event_name .... ${{ github.event_name }}"
151+
echo "tags ................. ${{ steps.task_release_gh_meta.outputs.tags }}"
152+
echo "labels ............... ${{ steps.task_release_gh_meta.outputs.labels }}"
153153
154154
# #
155155
# Release > Github > Build and Push
@@ -158,7 +158,7 @@ jobs:
158158
- name: "📦 Build and push"
159159
id: task_release_gh_push
160160
uses: docker/build-push-action@v3
161-
if: ( github.event_name == 'workflow_dispatch' && inputs.PRINT_ONLY == 'false' )
161+
if: ( github.event_name == 'workflow_dispatch' && inputs.PRINT_ONLY == 'false' ) || ( github.event_name == 'push' )
162162
with:
163163
context: .
164164
file: Dockerfile
@@ -267,7 +267,7 @@ jobs:
267267
- name: "📦 Build and push"
268268
id: task_release_dh_push
269269
uses: docker/build-push-action@v3
270-
if: ( github.event_name == 'workflow_dispatch' && inputs.PRINT_ONLY == 'false' )
270+
if: ( github.event_name == 'workflow_dispatch' && inputs.PRINT_ONLY == 'false' ) || ( github.event_name == 'push' )
271271
with:
272272
context: .
273273
file: Dockerfile

0 commit comments

Comments
 (0)