mirror of
https://github.com/TheBinaryNinja/tvapp2.git
synced 2026-06-04 04:35:41 -04:00
ci: remove global property flavor => latest in favor of labels for workflow docker/metadata-action
This commit is contained in:
40
.github/workflows/deploy-docker-github.yml
vendored
40
.github/workflows/deploy-docker-github.yml
vendored
@@ -36,10 +36,10 @@ on:
|
||||
# #
|
||||
|
||||
IMAGE_NAME:
|
||||
description: '📦 Image Name'
|
||||
required: true
|
||||
default: 'tvapp2'
|
||||
type: string
|
||||
description: '📦 Image Name'
|
||||
required: true
|
||||
default: 'tvapp2'
|
||||
type: string
|
||||
|
||||
# #
|
||||
# Image Version
|
||||
@@ -48,10 +48,10 @@ on:
|
||||
# #
|
||||
|
||||
IMAGE_VERSION:
|
||||
description: '🏷️ Image Version'
|
||||
required: true
|
||||
default: '1.0.0'
|
||||
type: string
|
||||
description: '🏷️ Image Version'
|
||||
required: true
|
||||
default: '1.0.0'
|
||||
type: string
|
||||
|
||||
# #
|
||||
# Image Author
|
||||
@@ -61,10 +61,10 @@ on:
|
||||
# #
|
||||
|
||||
IMAGE_GHCR_AUTHOR:
|
||||
description: '🪪 Image Author'
|
||||
required: true
|
||||
default: 'TheBinaryNinja'
|
||||
type: string
|
||||
description: '🪪 Image Author'
|
||||
required: true
|
||||
default: 'TheBinaryNinja'
|
||||
type: string
|
||||
|
||||
# #
|
||||
# Image ghcr username
|
||||
@@ -113,12 +113,12 @@ on:
|
||||
# #
|
||||
|
||||
env:
|
||||
IMAGE_NAME: ${{ github.event.inputs.IMAGE_NAME || 'tvapp2' }}
|
||||
IMAGE_VERSION: ${{ github.event.inputs.IMAGE_VERSION || '1.0.0' }}
|
||||
IMAGE_GHCR_AUTHOR: ${{ github.event.inputs.IMAGE_GHCR_AUTHOR || 'BinaryNinja' }}
|
||||
IMAGE_GHCR_USERNAME: ${{ github.event.inputs.IMAGE_GHCR_USERNAME || 'BinaryNinja' }}
|
||||
BOT_NAME_1: EuropaServ
|
||||
BOT_NAME_DEPENDABOT: dependabot[bot]
|
||||
IMAGE_NAME: ${{ github.event.inputs.IMAGE_NAME || 'tvapp2' }}
|
||||
IMAGE_VERSION: ${{ github.event.inputs.IMAGE_VERSION || '1.0.0' }}
|
||||
IMAGE_GHCR_AUTHOR: ${{ github.event.inputs.IMAGE_GHCR_AUTHOR || 'BinaryNinja' }}
|
||||
IMAGE_GHCR_USERNAME: ${{ github.event.inputs.IMAGE_GHCR_USERNAME || 'BinaryNinja' }}
|
||||
BOT_NAME_1: EuropaServ
|
||||
BOT_NAME_DEPENDABOT: dependabot[bot]
|
||||
|
||||
# #
|
||||
# Jobs
|
||||
@@ -268,7 +268,9 @@ jobs:
|
||||
- name: '🔐 Apply dos2unix'
|
||||
id: task_release_gh_dos2unix
|
||||
run: |
|
||||
echo "⚠️⚠️⚠️ Running DOS2UNIX ⚠️⚠️⚠️"
|
||||
find ./ \( -path "./.git" -o -path "./docs" -o -path "./.github" -o -path "*.png" -o -path "*.jpg" \) -prune -o -name '*' -print | xargs dos2unix --
|
||||
echo "✅✅✅ Completed DOS2UNIX ✅✅✅"
|
||||
|
||||
# #
|
||||
# Release › Github › Fix Permissions
|
||||
@@ -345,8 +347,6 @@ jobs:
|
||||
|
||||
# add development tag to default architecture (amd64)
|
||||
type=raw,enable=${{ inputs.DEV_RELEASE }},priority=400,prefix=,suffix=,value=development
|
||||
flavor: |
|
||||
latest=${{ !inputs.DEV_RELEASE }}
|
||||
labels: |
|
||||
org.opencontainers.image.created=${{ env.NOW_DOCKER_TS }}
|
||||
org.opencontainers.image.version=${{ env.IMAGE_VERSION }}
|
||||
|
||||
Reference in New Issue
Block a user