From aa0028901acc8ee657238cef55bb9a0543046b31 Mon Sep 17 00:00:00 2001 From: Aetherinox Date: Wed, 26 Feb 2025 02:40:07 -0700 Subject: [PATCH] ci: update github deployment workflow; add annotations --- .github/workflows/deploy-docker-github.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-docker-github.yml b/.github/workflows/deploy-docker-github.yml index 5c26243e..a8738c07 100755 --- a/.github/workflows/deploy-docker-github.yml +++ b/.github/workflows/deploy-docker-github.yml @@ -339,7 +339,7 @@ jobs: const { promises: fs } = require('fs') const main = async () => { - const path = 'README.md' + const path = "README.md" let content = await fs.readFile(path, 'utf8') core.setOutput('content', content) @@ -383,7 +383,15 @@ jobs: labels: | org.opencontainers.image.created=${{ env.NOW_DOCKER_TS }} org.opencontainers.image.version=${{ env.IMAGE_VERSION }} - org.opencontainers.image.description=${{ steps.task_release_gh_readme_cache.outputs.content }} + org.opencontainers.image.licenses=MIT + org.opencontainers.image.revision=${{ github.sha }} + org.opencontainers.image.vendor=${{ env.REGISTRY_REPO_AUTHOR_LC }} + org.opencontainers.image.ref.name=${{ github.ref_name }} + org.opencontainers.image.development=${{ inputs.DEV_RELEASE == true && 'true' || 'false' }} + org.tvapp2.image.build-version="Version:- ${{ env.IMAGE_VERSION }} Date:- ${{ env.NOW_DOCKER_LABEL }}" + annotations: | + org.opencontainers.image.created=${{ env.NOW_DOCKER_TS }} + org.opencontainers.image.version=${{ env.IMAGE_VERSION }} org.opencontainers.image.licenses=MIT org.opencontainers.image.revision=${{ github.sha }} org.opencontainers.image.vendor=${{ env.REGISTRY_REPO_AUTHOR_LC }}