From 23aad50d8b130ca735754dec25e65d66cbf336bd Mon Sep 17 00:00:00 2001 From: alex289 Date: Wed, 1 May 2024 11:54:43 +0200 Subject: [PATCH] fix: Set tag docker correctly --- .github/workflows/release.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6c8346c..5cee012 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -118,12 +118,11 @@ jobs: uses: docker/metadata-action@v5 with: tags: | - latest - ${{ steps.latestTag.outputs.latestTag }} - annotations: | - manifest:org.opencontainers.image.version=${{ steps.latestTag.outputs.latestTag }} - labels: | - org.opencontainers.image.version=${{ steps.latestTag.outputs.latestTag }} + type=semver,pattern={{version}},value=${{ steps.latestTag.outputs.latestTag }} + # annotations: | + # manifest:org.opencontainers.image.version=${{ steps.latestTag.outputs.latestTag }} + # labels: | + # org.opencontainers.image.version=${{ steps.latestTag.outputs.latestTag }} images: | ${{ env.DOCKER_IMAGE }} ghcr.io/${{ github.repository }} @@ -135,6 +134,7 @@ jobs: push: true labels: ${{ steps.meta.outputs.labels }} tags: ${{ steps.meta.outputs.tags }} + annotations: ${{ steps.meta.outputs.annotations }} - name: Docker Hub Description uses: peter-evans/dockerhub-description@v4