0
0
mirror of https://github.com/alex289/CleanArchitecture.git synced 2025-08-22 19:28:34 +00:00

fix: Set tag docker correctly

This commit is contained in:
alex289 2024-05-01 11:54:43 +02:00
parent d5241993f6
commit 23aad50d8b
No known key found for this signature in database
GPG Key ID: 573F77CD2D87F863

View File

@ -118,12 +118,11 @@ jobs:
uses: docker/metadata-action@v5 uses: docker/metadata-action@v5
with: with:
tags: | tags: |
latest type=semver,pattern={{version}},value=${{ steps.latestTag.outputs.latestTag }}
${{ steps.latestTag.outputs.latestTag }} # annotations: |
annotations: | # manifest:org.opencontainers.image.version=${{ steps.latestTag.outputs.latestTag }}
manifest:org.opencontainers.image.version=${{ steps.latestTag.outputs.latestTag }} # labels: |
labels: | # org.opencontainers.image.version=${{ steps.latestTag.outputs.latestTag }}
org.opencontainers.image.version=${{ steps.latestTag.outputs.latestTag }}
images: | images: |
${{ env.DOCKER_IMAGE }} ${{ env.DOCKER_IMAGE }}
ghcr.io/${{ github.repository }} ghcr.io/${{ github.repository }}
@ -135,6 +134,7 @@ jobs:
push: true push: true
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
annotations: ${{ steps.meta.outputs.annotations }}
- name: Docker Hub Description - name: Docker Hub Description
uses: peter-evans/dockerhub-description@v4 uses: peter-evans/dockerhub-description@v4