From 086cf47d7754ef6bbdfd93cc22a2345690511190 Mon Sep 17 00:00:00 2001 From: Martin Buchleitner Date: Tue, 21 Mar 2023 16:12:34 +0100 Subject: [PATCH] fix: version and latest tags --- .github/workflows/docker.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index da62603..51a45b8 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -68,6 +68,7 @@ jobs: images: ${{ steps.prep.outputs.tags }} tags: | type=raw,value=${{ needs.prebuild.outputs.version }} + type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }} type=ref,event=pr type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}}