mirror of
https://github.com/TheBinaryNinja/tvapp2.git
synced 2026-06-04 08:15:42 -04:00
ci: update github deployment workflow; add annotations
This commit is contained in:
12
.github/workflows/deploy-docker-github.yml
vendored
12
.github/workflows/deploy-docker-github.yml
vendored
@@ -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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user