From cb64b1291775153b90bbe86e9f331e0ac8f3f194 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B6khan=20Sar=C4=B1?= Date: Tue, 20 Jul 2021 17:09:34 +0300 Subject: [PATCH] Update build-and-publish.yml --- .github/workflows/build-and-publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index a2fbce1..4301400 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -31,7 +31,7 @@ jobs: with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | - type=semver,pattern={{major}}.{{minor}} + type=semver,pattern=v{{major}}.{{minor}} - name: Build and push Docker image uses: docker/build-push-action@v2 @@ -39,3 +39,4 @@ jobs: context: . push: true tags: ${{ steps.meta.outputs.tags }} + labels: ${{ steps.meta.outputs.labels }}