From 390fb6e52bc630da21dad3d783cdcce352b59aaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B6khan=20Sar=C4=B1?= Date: Sun, 25 Jul 2021 01:20:02 +0300 Subject: [PATCH] Update build-and-publish.yml --- .github/workflows/build-and-publish.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index 9540ff5..7e423de 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -31,10 +31,9 @@ jobs: id: meta uses: docker/metadata-action@v3 with: - flavor: | - latest=${{ github.ref == 'refs/heads/main' }} images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | + type=raw,enable=${{ github.ref == 'refs/heads/main' }},value=latest type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}}