mirror of
https://github.com/TheBinaryNinja/tvapp2.git
synced 2026-06-04 09:15:41 -04:00
ci: remove global property flavor => latest in favor of labels for workflow docker/metadata-action
This commit is contained in:
19
.github/workflows/deploy-docker-all.yml
vendored
19
.github/workflows/deploy-docker-all.yml
vendored
@@ -339,7 +339,9 @@ jobs:
|
|||||||
- name: '🔐 Apply dos2unix'
|
- name: '🔐 Apply dos2unix'
|
||||||
id: task_release_gh_dos2unix
|
id: task_release_gh_dos2unix
|
||||||
run: |
|
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 --
|
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
|
# Release › Github › Fix Permissions
|
||||||
@@ -416,8 +418,6 @@ jobs:
|
|||||||
|
|
||||||
# add development tag to default architecture (amd64)
|
# add development tag to default architecture (amd64)
|
||||||
type=raw,enable=${{ inputs.DEV_RELEASE }},priority=400,prefix=,suffix=,value=development
|
type=raw,enable=${{ inputs.DEV_RELEASE }},priority=400,prefix=,suffix=,value=development
|
||||||
flavor: |
|
|
||||||
latest=${{ !inputs.DEV_RELEASE }}
|
|
||||||
labels: |
|
labels: |
|
||||||
org.opencontainers.image.created=${{ env.NOW_DOCKER_TS }}
|
org.opencontainers.image.created=${{ env.NOW_DOCKER_TS }}
|
||||||
org.opencontainers.image.version=${{ env.IMAGE_VERSION }}
|
org.opencontainers.image.version=${{ env.IMAGE_VERSION }}
|
||||||
@@ -670,7 +670,9 @@ jobs:
|
|||||||
- name: '🔐 Apply dos2unix'
|
- name: '🔐 Apply dos2unix'
|
||||||
id: task_release_dh_dos2unix
|
id: task_release_dh_dos2unix
|
||||||
run: |
|
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 --
|
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 › Dockerhub › Fix Permissions
|
# Release › Dockerhub › Fix Permissions
|
||||||
@@ -746,8 +748,6 @@ jobs:
|
|||||||
|
|
||||||
# add development tag to default architecture (amd64)
|
# add development tag to default architecture (amd64)
|
||||||
type=raw,enable=${{ inputs.DEV_RELEASE }},priority=400,prefix=,suffix=,value=development
|
type=raw,enable=${{ inputs.DEV_RELEASE }},priority=400,prefix=,suffix=,value=development
|
||||||
flavor: |
|
|
||||||
latest=${{ !inputs.DEV_RELEASE }}
|
|
||||||
labels: |
|
labels: |
|
||||||
org.opencontainers.image.created=${{ env.NOW_DOCKER_TS }}
|
org.opencontainers.image.created=${{ env.NOW_DOCKER_TS }}
|
||||||
org.opencontainers.image.version=${{ env.IMAGE_VERSION }}
|
org.opencontainers.image.version=${{ env.IMAGE_VERSION }}
|
||||||
@@ -1000,7 +1000,9 @@ jobs:
|
|||||||
- name: '🔐 Apply dos2unix'
|
- name: '🔐 Apply dos2unix'
|
||||||
id: task_release_gi_dos2unix
|
id: task_release_gi_dos2unix
|
||||||
run: |
|
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 --
|
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 › Gitea › Fix Permissions
|
# Release › Gitea › Fix Permissions
|
||||||
@@ -1077,8 +1079,6 @@ jobs:
|
|||||||
|
|
||||||
# add development tag to default architecture (amd64)
|
# add development tag to default architecture (amd64)
|
||||||
type=raw,enable=${{ inputs.DEV_RELEASE }},priority=400,prefix=,suffix=,value=development
|
type=raw,enable=${{ inputs.DEV_RELEASE }},priority=400,prefix=,suffix=,value=development
|
||||||
flavor: |
|
|
||||||
latest=${{ !inputs.DEV_RELEASE }}
|
|
||||||
labels: |
|
labels: |
|
||||||
org.opencontainers.image.created=${{ env.NOW_DOCKER_TS }}
|
org.opencontainers.image.created=${{ env.NOW_DOCKER_TS }}
|
||||||
org.opencontainers.image.version=${{ env.IMAGE_VERSION }}
|
org.opencontainers.image.version=${{ env.IMAGE_VERSION }}
|
||||||
@@ -1100,9 +1100,6 @@ jobs:
|
|||||||
images: |
|
images: |
|
||||||
${{ env.IMAGE_GITEA_WEBSITE }}/${{ env.REGISTRY_REPO_AUTHOR_LC }}/${{ env.IMAGE_NAME }}
|
${{ env.IMAGE_GITEA_WEBSITE }}/${{ env.REGISTRY_REPO_AUTHOR_LC }}/${{ env.IMAGE_NAME }}
|
||||||
tags: |
|
tags: |
|
||||||
# latest yes
|
|
||||||
type=raw,value=latest,enable=${{ !inputs.DEV_RELEASE }}
|
|
||||||
|
|
||||||
# dispatch add x1.x.x
|
# dispatch add x1.x.x
|
||||||
type=raw,enable=${{ github.event_name == 'workflow_dispatch' && inputs.DEV_RELEASE == false }},priority=300,prefix=,suffix=-arm64,value=${{ env.IMAGE_VERSION }}
|
type=raw,enable=${{ github.event_name == 'workflow_dispatch' && inputs.DEV_RELEASE == false }},priority=300,prefix=,suffix=-arm64,value=${{ env.IMAGE_VERSION }}
|
||||||
|
|
||||||
@@ -1111,8 +1108,6 @@ jobs:
|
|||||||
|
|
||||||
# tag add tag
|
# tag add tag
|
||||||
type=ref,enable=${{ github.event_name == 'pull_request' || github.event_name == 'push' }},priority=600,prefix=,suffix=-arm64,event=tag
|
type=ref,enable=${{ github.event_name == 'pull_request' || github.event_name == 'push' }},priority=600,prefix=,suffix=-arm64,event=tag
|
||||||
flavor: |
|
|
||||||
latest=${{ !inputs.DEV_RELEASE }}
|
|
||||||
labels: |
|
labels: |
|
||||||
org.opencontainers.image.created=${{ env.NOW_DOCKER_TS }}
|
org.opencontainers.image.created=${{ env.NOW_DOCKER_TS }}
|
||||||
org.opencontainers.image.version=${{ env.IMAGE_VERSION }}
|
org.opencontainers.image.version=${{ env.IMAGE_VERSION }}
|
||||||
@@ -1148,8 +1143,6 @@ jobs:
|
|||||||
|
|
||||||
# add development tag to default architecture (amd64)
|
# add development tag to default architecture (amd64)
|
||||||
type=raw,enable=${{ inputs.DEV_RELEASE }},priority=400,prefix=,suffix=,value=development
|
type=raw,enable=${{ inputs.DEV_RELEASE }},priority=400,prefix=,suffix=,value=development
|
||||||
flavor: |
|
|
||||||
latest=${{ !inputs.DEV_RELEASE }}
|
|
||||||
labels: |
|
labels: |
|
||||||
org.opencontainers.image.created=${{ env.NOW_DOCKER_TS }}
|
org.opencontainers.image.created=${{ env.NOW_DOCKER_TS }}
|
||||||
org.opencontainers.image.version=${{ env.IMAGE_VERSION }}
|
org.opencontainers.image.version=${{ env.IMAGE_VERSION }}
|
||||||
|
|||||||
@@ -271,7 +271,9 @@ jobs:
|
|||||||
- name: '🔐 Apply dos2unix'
|
- name: '🔐 Apply dos2unix'
|
||||||
id: task_release_dh_dos2unix
|
id: task_release_dh_dos2unix
|
||||||
run: |
|
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 --
|
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 › Dockerhub › Fix Permissions
|
# Release › Dockerhub › Fix Permissions
|
||||||
@@ -347,8 +349,6 @@ jobs:
|
|||||||
|
|
||||||
# add development tag to default architecture (amd64)
|
# add development tag to default architecture (amd64)
|
||||||
type=raw,enable=${{ inputs.DEV_RELEASE }},priority=400,prefix=,suffix=,value=development
|
type=raw,enable=${{ inputs.DEV_RELEASE }},priority=400,prefix=,suffix=,value=development
|
||||||
flavor: |
|
|
||||||
latest=${{ !inputs.DEV_RELEASE }}
|
|
||||||
labels: |
|
labels: |
|
||||||
org.opencontainers.image.created=${{ env.NOW_DOCKER_TS }}
|
org.opencontainers.image.created=${{ env.NOW_DOCKER_TS }}
|
||||||
org.opencontainers.image.version=${{ env.IMAGE_VERSION }}
|
org.opencontainers.image.version=${{ env.IMAGE_VERSION }}
|
||||||
|
|||||||
11
.github/workflows/deploy-docker-gitea.yml
vendored
11
.github/workflows/deploy-docker-gitea.yml
vendored
@@ -283,7 +283,9 @@ jobs:
|
|||||||
- name: '🔐 Apply dos2unix'
|
- name: '🔐 Apply dos2unix'
|
||||||
id: task_release_gi_dos2unix
|
id: task_release_gi_dos2unix
|
||||||
run: |
|
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 --
|
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 › Gitea › Fix Permissions
|
# Release › Gitea › Fix Permissions
|
||||||
@@ -360,8 +362,6 @@ jobs:
|
|||||||
|
|
||||||
# add development tag to default architecture (amd64)
|
# add development tag to default architecture (amd64)
|
||||||
type=raw,enable=${{ inputs.DEV_RELEASE }},priority=400,prefix=,suffix=,value=development
|
type=raw,enable=${{ inputs.DEV_RELEASE }},priority=400,prefix=,suffix=,value=development
|
||||||
flavor: |
|
|
||||||
latest=${{ !inputs.DEV_RELEASE }}
|
|
||||||
labels: |
|
labels: |
|
||||||
org.opencontainers.image.created=${{ env.NOW_DOCKER_TS }}
|
org.opencontainers.image.created=${{ env.NOW_DOCKER_TS }}
|
||||||
org.opencontainers.image.version=${{ env.IMAGE_VERSION }}
|
org.opencontainers.image.version=${{ env.IMAGE_VERSION }}
|
||||||
@@ -383,9 +383,6 @@ jobs:
|
|||||||
images: |
|
images: |
|
||||||
${{ env.IMAGE_GITEA_WEBSITE }}/${{ env.REGISTRY_REPO_AUTHOR_LC }}/${{ env.IMAGE_NAME }}
|
${{ env.IMAGE_GITEA_WEBSITE }}/${{ env.REGISTRY_REPO_AUTHOR_LC }}/${{ env.IMAGE_NAME }}
|
||||||
tags: |
|
tags: |
|
||||||
# latest yes
|
|
||||||
type=raw,value=latest,enable=${{ !inputs.DEV_RELEASE }}
|
|
||||||
|
|
||||||
# dispatch add x1.x.x
|
# dispatch add x1.x.x
|
||||||
type=raw,enable=${{ github.event_name == 'workflow_dispatch' && inputs.DEV_RELEASE == false }},priority=300,prefix=,suffix=-arm64,value=${{ env.IMAGE_VERSION }}
|
type=raw,enable=${{ github.event_name == 'workflow_dispatch' && inputs.DEV_RELEASE == false }},priority=300,prefix=,suffix=-arm64,value=${{ env.IMAGE_VERSION }}
|
||||||
|
|
||||||
@@ -394,8 +391,6 @@ jobs:
|
|||||||
|
|
||||||
# tag add tag
|
# tag add tag
|
||||||
type=ref,enable=${{ github.event_name == 'pull_request' || github.event_name == 'push' }},priority=600,prefix=,suffix=-arm64,event=tag
|
type=ref,enable=${{ github.event_name == 'pull_request' || github.event_name == 'push' }},priority=600,prefix=,suffix=-arm64,event=tag
|
||||||
flavor: |
|
|
||||||
latest=${{ !inputs.DEV_RELEASE }}
|
|
||||||
labels: |
|
labels: |
|
||||||
org.opencontainers.image.created=${{ env.NOW_DOCKER_TS }}
|
org.opencontainers.image.created=${{ env.NOW_DOCKER_TS }}
|
||||||
org.opencontainers.image.version=${{ env.IMAGE_VERSION }}
|
org.opencontainers.image.version=${{ env.IMAGE_VERSION }}
|
||||||
@@ -431,8 +426,6 @@ jobs:
|
|||||||
|
|
||||||
# add development tag to default architecture (amd64)
|
# add development tag to default architecture (amd64)
|
||||||
type=raw,enable=${{ inputs.DEV_RELEASE }},priority=400,prefix=,suffix=,value=development
|
type=raw,enable=${{ inputs.DEV_RELEASE }},priority=400,prefix=,suffix=,value=development
|
||||||
flavor: |
|
|
||||||
latest=${{ !inputs.DEV_RELEASE }}
|
|
||||||
labels: |
|
labels: |
|
||||||
org.opencontainers.image.created=${{ env.NOW_DOCKER_TS }}
|
org.opencontainers.image.created=${{ env.NOW_DOCKER_TS }}
|
||||||
org.opencontainers.image.version=${{ env.IMAGE_VERSION }}
|
org.opencontainers.image.version=${{ env.IMAGE_VERSION }}
|
||||||
|
|||||||
40
.github/workflows/deploy-docker-github.yml
vendored
40
.github/workflows/deploy-docker-github.yml
vendored
@@ -36,10 +36,10 @@ on:
|
|||||||
# #
|
# #
|
||||||
|
|
||||||
IMAGE_NAME:
|
IMAGE_NAME:
|
||||||
description: '📦 Image Name'
|
description: '📦 Image Name'
|
||||||
required: true
|
required: true
|
||||||
default: 'tvapp2'
|
default: 'tvapp2'
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
# #
|
# #
|
||||||
# Image Version
|
# Image Version
|
||||||
@@ -48,10 +48,10 @@ on:
|
|||||||
# #
|
# #
|
||||||
|
|
||||||
IMAGE_VERSION:
|
IMAGE_VERSION:
|
||||||
description: '🏷️ Image Version'
|
description: '🏷️ Image Version'
|
||||||
required: true
|
required: true
|
||||||
default: '1.0.0'
|
default: '1.0.0'
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
# #
|
# #
|
||||||
# Image Author
|
# Image Author
|
||||||
@@ -61,10 +61,10 @@ on:
|
|||||||
# #
|
# #
|
||||||
|
|
||||||
IMAGE_GHCR_AUTHOR:
|
IMAGE_GHCR_AUTHOR:
|
||||||
description: '🪪 Image Author'
|
description: '🪪 Image Author'
|
||||||
required: true
|
required: true
|
||||||
default: 'TheBinaryNinja'
|
default: 'TheBinaryNinja'
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
# #
|
# #
|
||||||
# Image ghcr username
|
# Image ghcr username
|
||||||
@@ -113,12 +113,12 @@ on:
|
|||||||
# #
|
# #
|
||||||
|
|
||||||
env:
|
env:
|
||||||
IMAGE_NAME: ${{ github.event.inputs.IMAGE_NAME || 'tvapp2' }}
|
IMAGE_NAME: ${{ github.event.inputs.IMAGE_NAME || 'tvapp2' }}
|
||||||
IMAGE_VERSION: ${{ github.event.inputs.IMAGE_VERSION || '1.0.0' }}
|
IMAGE_VERSION: ${{ github.event.inputs.IMAGE_VERSION || '1.0.0' }}
|
||||||
IMAGE_GHCR_AUTHOR: ${{ github.event.inputs.IMAGE_GHCR_AUTHOR || 'BinaryNinja' }}
|
IMAGE_GHCR_AUTHOR: ${{ github.event.inputs.IMAGE_GHCR_AUTHOR || 'BinaryNinja' }}
|
||||||
IMAGE_GHCR_USERNAME: ${{ github.event.inputs.IMAGE_GHCR_USERNAME || 'BinaryNinja' }}
|
IMAGE_GHCR_USERNAME: ${{ github.event.inputs.IMAGE_GHCR_USERNAME || 'BinaryNinja' }}
|
||||||
BOT_NAME_1: EuropaServ
|
BOT_NAME_1: EuropaServ
|
||||||
BOT_NAME_DEPENDABOT: dependabot[bot]
|
BOT_NAME_DEPENDABOT: dependabot[bot]
|
||||||
|
|
||||||
# #
|
# #
|
||||||
# Jobs
|
# Jobs
|
||||||
@@ -268,7 +268,9 @@ jobs:
|
|||||||
- name: '🔐 Apply dos2unix'
|
- name: '🔐 Apply dos2unix'
|
||||||
id: task_release_gh_dos2unix
|
id: task_release_gh_dos2unix
|
||||||
run: |
|
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 --
|
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
|
# Release › Github › Fix Permissions
|
||||||
@@ -345,8 +347,6 @@ jobs:
|
|||||||
|
|
||||||
# add development tag to default architecture (amd64)
|
# add development tag to default architecture (amd64)
|
||||||
type=raw,enable=${{ inputs.DEV_RELEASE }},priority=400,prefix=,suffix=,value=development
|
type=raw,enable=${{ inputs.DEV_RELEASE }},priority=400,prefix=,suffix=,value=development
|
||||||
flavor: |
|
|
||||||
latest=${{ !inputs.DEV_RELEASE }}
|
|
||||||
labels: |
|
labels: |
|
||||||
org.opencontainers.image.created=${{ env.NOW_DOCKER_TS }}
|
org.opencontainers.image.created=${{ env.NOW_DOCKER_TS }}
|
||||||
org.opencontainers.image.version=${{ env.IMAGE_VERSION }}
|
org.opencontainers.image.version=${{ env.IMAGE_VERSION }}
|
||||||
|
|||||||
Reference in New Issue
Block a user