From 2cd41dc3daef5e8353b387edd9314bc98d73902c Mon Sep 17 00:00:00 2001 From: Arthur Deierlein Date: Fri, 19 Apr 2024 13:42:45 +0200 Subject: [PATCH] fix(semrel): correctly set version tags --- .github/workflows/release.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 51203cc7..d2cbac72 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -44,6 +44,10 @@ jobs: images: ghcr.io/adfinis/timed-backend flavor: | latest=auto + tags: | + type=semver,pattern={{version}},value=${{ steps.semrel.outputs.version }} + type=semver,pattern={{major}}.{{minor}},value=${{ steps.semrel.outputs.version }} + type=semver,pattern={{major}},value=${{ steps.semrel.outputs.version }} labels: | org.opencontainers.image.title=${{ github.event.repository.name }} org.opencontainers.image.description=${{ github.event.repository.description }}