mirror of
https://github.com/TheBinaryNinja/tvapp2.git
synced 2026-06-04 09:15:41 -04:00
ci: add push workflow trigger
This commit is contained in:
16
.github/workflows/deploy-docker-main.yml
vendored
16
.github/workflows/deploy-docker-main.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user