mirror of
https://github.com/TheBinaryNinja/tvapp2.git
synced 2026-06-04 14:05:41 -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"
|
- 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
|
||||||
|
|||||||
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
|
id: task_release_gh_meta
|
||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5
|
||||||
with:
|
with:
|
||||||
|
flavor: |
|
||||||
|
latest=false
|
||||||
images: |
|
images: |
|
||||||
ghcr.io/Aetherinox/thetvapp-docker
|
aetherinox/thetvapp
|
||||||
tags: |
|
tags: |
|
||||||
type=raw,value=latest,enable=${{ endsWith(github.ref, 'main') }}
|
type=raw,value=latest,enable=false
|
||||||
type=ref,event=tag
|
type=ref,enable=true,priority=600,prefix=,suffix=-php,event=tag
|
||||||
|
|
||||||
# #
|
# #
|
||||||
# Release > Github > Debug
|
# Release > Github > Debug
|
||||||
@@ -158,7 +160,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-php.template
|
file: Dockerfile-php.template
|
||||||
@@ -269,7 +271,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-php.template
|
file: Dockerfile-php.template
|
||||||
|
|||||||
Reference in New Issue
Block a user