From e2e3d4305e5075da97b2041b60dc066943ce790f Mon Sep 17 00:00:00 2001 From: Sonja Mathias Date: Fri, 2 Feb 2024 11:16:56 +0100 Subject: [PATCH] Fiddle with docker image tag Try to add second image tag based on branch name and sha --- .github/workflows/docker.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 22daafdd20..3dc533ba4c 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -60,10 +60,11 @@ jobs: with: images: ${{ matrix.images }} tags: | - type=ref,event=branch,suffix={{sha}} + type=ref,event=branch type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}} + type=sha,prefix={{branch}}- - name: Build and Publish uses: docker/build-push-action@v4 with: