From c04d5b72473ed610372b7fce36ba8bfcfbbdcca7 Mon Sep 17 00:00:00 2001 From: Dhruvin Shah Date: Sat, 6 Jan 2024 21:00:20 -0500 Subject: [PATCH] ci(tag): latest tags added with main --- .github/workflows/docker-image.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 3a4fcdd..9fc4a56 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -30,9 +30,8 @@ jobs: images: | ghcr.io/${{ github.repository }} tags: | + type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'master') }} type=ref,event=branch - type=semver,pattern={{version}} - type=semver,pattern={{major}} - name: Build and push uses: docker/build-push-action@v5