From 4379f0650a98895f1e2de670da5e7b8a77784084 Mon Sep 17 00:00:00 2001 From: drbh Date: Mon, 5 Aug 2024 13:13:52 -0400 Subject: [PATCH] feat: add release and sha tagged images --- .github/workflows/build.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 89d5bdf5cc6..dd40999d755 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -126,6 +126,7 @@ jobs: tags: | type=semver,pattern={{version}}${{ env.LABEL }} type=semver,pattern={{major}}.{{minor}}${{ env.LABEL }} + type=semver,pattern={{major}}.{{minor}}-${{ env.GITHUB_SHA_SHORT }}${{ env.LABEL }} type=raw,value=latest${{ env.LABEL }},enable=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }} type=raw,value=sha-${{ env.GITHUB_SHA_SHORT }}${{ env.LABEL }} - name: Build and push Docker image