ci: update github deployment workflow; add annotations

This commit is contained in:
2025-02-26 02:40:07 -07:00
parent 901a11382d
commit aa0028901a

View File

@@ -339,7 +339,7 @@ jobs:
const { promises: fs } = require('fs') const { promises: fs } = require('fs')
const main = async () => { const main = async () => {
const path = 'README.md' const path = "README.md"
let content = await fs.readFile(path, 'utf8') let content = await fs.readFile(path, 'utf8')
core.setOutput('content', content) core.setOutput('content', content)
@@ -383,7 +383,15 @@ jobs:
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 }}
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.licenses=MIT
org.opencontainers.image.revision=${{ github.sha }} org.opencontainers.image.revision=${{ github.sha }}
org.opencontainers.image.vendor=${{ env.REGISTRY_REPO_AUTHOR_LC }} org.opencontainers.image.vendor=${{ env.REGISTRY_REPO_AUTHOR_LC }}