From d67f9a2c308f080d00b0337573ac23ab1ccb2d60 Mon Sep 17 00:00:00 2001 From: Bal Narendra Sapa <61614290+balnarendrasapa@users.noreply.github.com> Date: Sun, 3 Dec 2023 14:15:22 -0500 Subject: [PATCH] Update docker-publish.yml --- .github/workflows/docker-publish.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index b3c42ca..96ac670 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -69,11 +69,8 @@ jobs: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | type=ref,event=branch - type=sha,prefix=commit- - type=semver,pattern={{version}} - type=semver,pattern={{major}}.{{minor}} - type=semver,pattern={{major}} - type=latest + type=sha,prefix=commit- + type=raw,value=latest # Build and push Docker image with Buildx (don't push on PR) # https://github.com/docker/build-push-action