mirror of
https://github.com/TheBinaryNinja/tvapp2.git
synced 2026-06-04 06:25:41 -04:00
ci: update gitea workflow
This commit is contained in:
18
.github/workflows/deploy-docker-gitea.yml
vendored
18
.github/workflows/deploy-docker-gitea.yml
vendored
@@ -32,7 +32,7 @@ on:
|
|||||||
# Image Name
|
# Image Name
|
||||||
#
|
#
|
||||||
# used in github image path
|
# used in github image path
|
||||||
# ghcr.io/${{ env.IMAGE_AUTHOR }}/${{ env.IMAGE_NAME }}
|
# git.binaryninja.net/${{ env.IMAGE_AUTHOR }}/${{ env.IMAGE_NAME }}
|
||||||
# #
|
# #
|
||||||
|
|
||||||
IMAGE_NAME:
|
IMAGE_NAME:
|
||||||
@@ -45,13 +45,13 @@ on:
|
|||||||
# Image Author
|
# Image Author
|
||||||
#
|
#
|
||||||
# used in github image path
|
# used in github image path
|
||||||
# ghcr.io/${{ env.IMAGE_AUTHOR }}/${{ env.IMAGE_NAME }}
|
# git.binaryninja.net/${{ env.IMAGE_AUTHOR }}/${{ env.IMAGE_NAME }}
|
||||||
# #
|
# #
|
||||||
|
|
||||||
IMAGE_AUTHOR:
|
IMAGE_AUTHOR:
|
||||||
description: '🪪 Image Author'
|
description: '🪪 Image Author'
|
||||||
required: true
|
required: true
|
||||||
default: 'TheBinaryNinja'
|
default: 'BinaryNinja'
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
# #
|
# #
|
||||||
@@ -73,9 +73,9 @@ on:
|
|||||||
# #
|
# #
|
||||||
|
|
||||||
IMAGE_GHCR_USERNAME:
|
IMAGE_GHCR_USERNAME:
|
||||||
description: '🪪 ghcr.io Username'
|
description: '🪪 Gitea Username'
|
||||||
required: true
|
required: true
|
||||||
default: 'TheBinaryNinja'
|
default: 'aetherinox'
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
# #
|
# #
|
||||||
@@ -327,7 +327,7 @@ jobs:
|
|||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5
|
||||||
with:
|
with:
|
||||||
images: |
|
images: |
|
||||||
ghcr.io/${{ env.IMAGE_AUTHOR }}/${{ env.IMAGE_NAME }}
|
git.binaryninja.net/${{ env.IMAGE_AUTHOR }}/${{ env.IMAGE_NAME }}
|
||||||
tags: |
|
tags: |
|
||||||
# latest no
|
# latest no
|
||||||
type=raw,value=latest,enable=false
|
type=raw,value=latest,enable=false
|
||||||
@@ -414,7 +414,7 @@ jobs:
|
|||||||
|
|
||||||
- Docker Image: `${{ env.IMAGE_NAME }}-${{ env.IMAGE_VERSION }}`
|
- Docker Image: `${{ env.IMAGE_NAME }}-${{ env.IMAGE_VERSION }}`
|
||||||
- Version: `${{ env.IMAGE_VERSION }}`
|
- Version: `${{ env.IMAGE_VERSION }}`
|
||||||
- Pull URL: https://ghcr.io/${{ env.IMAGE_AUTHOR }}/${{ env.IMAGE_NAME }}
|
- Pull URL: https://git.binaryninja.net/${{ env.IMAGE_AUTHOR }}/${{ env.IMAGE_NAME }}
|
||||||
- Branch: `${{ github.ref_name }}`
|
- Branch: `${{ github.ref_name }}`
|
||||||
- Workflow: `${{ github.workflow }} (#${{github.run_number}})`
|
- Workflow: `${{ github.workflow }} (#${{github.run_number}})`
|
||||||
- Runner: `${{ runner.name }}`
|
- Runner: `${{ runner.name }}`
|
||||||
@@ -566,7 +566,7 @@ jobs:
|
|||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5
|
||||||
with:
|
with:
|
||||||
images: |
|
images: |
|
||||||
ghcr.io/${{ env.IMAGE_AUTHOR }}/${{ env.IMAGE_NAME }}
|
git.binaryninja.net/${{ env.IMAGE_AUTHOR }}/${{ env.IMAGE_NAME }}
|
||||||
tags: |
|
tags: |
|
||||||
# latest yes
|
# latest yes
|
||||||
type=raw,value=latest,enable=${{ !inputs.DEV_RELEASE }}
|
type=raw,value=latest,enable=${{ !inputs.DEV_RELEASE }}
|
||||||
@@ -654,7 +654,7 @@ jobs:
|
|||||||
|
|
||||||
- Docker Image: `${{ env.IMAGE_NAME }}-${{ env.IMAGE_VERSION }}`
|
- Docker Image: `${{ env.IMAGE_NAME }}-${{ env.IMAGE_VERSION }}`
|
||||||
- Version: `${{ env.IMAGE_VERSION }}`
|
- Version: `${{ env.IMAGE_VERSION }}`
|
||||||
- Pull URL: https://ghcr.io/${{ env.IMAGE_AUTHOR }}/${{ env.IMAGE_NAME }}
|
- Pull URL: https://git.binaryninja.net/${{ env.IMAGE_AUTHOR }}/${{ env.IMAGE_NAME }}
|
||||||
- Branch: `${{ github.ref_name }}`
|
- Branch: `${{ github.ref_name }}`
|
||||||
- Workflow: `${{ github.workflow }} (#${{github.run_number}})`
|
- Workflow: `${{ github.workflow }} (#${{github.run_number}})`
|
||||||
- Runner: `${{ runner.name }}`
|
- Runner: `${{ runner.name }}`
|
||||||
|
|||||||
Reference in New Issue
Block a user