mirror of
https://github.com/TheBinaryNinja/tvapp2.git
synced 2026-06-04 08:15:42 -04:00
ci: enable docker image push
This commit is contained in:
4
.github/workflows/deploy-docker-main.yml
vendored
4
.github/workflows/deploy-docker-main.yml
vendored
@@ -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
|
||||
|
||||
12
.github/workflows/deploy-docker-php.yml
vendored
12
.github/workflows/deploy-docker-php.yml
vendored
@@ -131,11 +131,13 @@ jobs:
|
||||
id: task_release_gh_meta
|
||||
uses: docker/metadata-action@v5
|
||||
with:
|
||||
flavor: |
|
||||
latest=false
|
||||
images: |
|
||||
ghcr.io/Aetherinox/thetvapp-docker
|
||||
aetherinox/thetvapp
|
||||
tags: |
|
||||
type=raw,value=latest,enable=${{ endsWith(github.ref, 'main') }}
|
||||
type=ref,event=tag
|
||||
type=raw,value=latest,enable=false
|
||||
type=ref,enable=true,priority=600,prefix=,suffix=-php,event=tag
|
||||
|
||||
# #
|
||||
# Release > Github > Debug
|
||||
@@ -158,7 +160,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-php.template
|
||||
@@ -269,7 +271,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-php.template
|
||||
|
||||
Reference in New Issue
Block a user