From 513753b6bbb1d1ab015a5c506f6cd3549f253029 Mon Sep 17 00:00:00 2001 From: Alexey Palazhchenko Date: Thu, 7 Nov 2024 12:39:22 +0100 Subject: [PATCH] Add annotation --- .github/workflows/build.yml | 6 +++--- Dockerfile | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index be449a3..1e034b5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,7 @@ on: jobs: docker: name: Docker (${{ matrix.branch }}) - timeout-minutes: 50 + timeout-minutes: 60 strategy: fail-fast: false @@ -60,7 +60,7 @@ jobs: run: make docker-build env: DOCKER_PLATFORM: linux/amd64,linux/arm64 - DOCKER_OUTPUT: type=image,push=true + DOCKER_OUTPUT: type=image,push=true,annotation-index.org.opencontainers.image.description="Daily builds of active Go development branches (branch ${{ env.GO_BRANCH }})" DOCKER_TAG: aleksi/golang-tip:${{ env.GO_BRANCH }} - name: Build Docker images for ghcr.io @@ -68,7 +68,7 @@ jobs: run: make docker-build env: DOCKER_PLATFORM: linux/amd64,linux/arm64 - DOCKER_OUTPUT: type=image,push=true + DOCKER_OUTPUT: type=image,push=true,annotation-index.org.opencontainers.image.description="Daily builds of active Go development branches (branch ${{ env.GO_BRANCH }})" DOCKER_TAG: ghcr.io/aleksi/golang-tip:${{ env.GO_BRANCH }} # skip push for PRs diff --git a/Dockerfile b/Dockerfile index 8b84135..24f432f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -46,6 +46,6 @@ go install std EOF -LABEL org.opencontainers.image.title="Daily builds of active Go development branches (branch ${GO_BRANCH})" +LABEL org.opencontainers.image.description="Daily builds of active Go development branches (branch ${GO_BRANCH})" LABEL org.opencontainers.image.url=https://github.com/AlekSi/golang-tip LABEL org.opencontainers.image.source=https://github.com/AlekSi/golang-tip