From ee0b0cdf92620b4738cd2817f845eec1bd03fbf1 Mon Sep 17 00:00:00 2001 From: Ernesta Date: Fri, 8 Mar 2024 14:17:52 +0100 Subject: [PATCH] Update test-and-build.yml Added branch tag to docker image --- .github/workflows/test-and-build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-and-build.yml b/.github/workflows/test-and-build.yml index ad85d6b..54f23c2 100644 --- a/.github/workflows/test-and-build.yml +++ b/.github/workflows/test-and-build.yml @@ -29,7 +29,9 @@ jobs: with: registry: ${{ env.REGISTRY }} image: ${{ env.IMAGE }} - tags: type=ref,event=pr + tags: | + type=ref,event=branch + type=ref,event=pr cache: false username: ${{ secrets.HARBOR_USERNAME }} password: ${{ secrets.HARBOR_PASSWORD }}