From 578e5592f96c480279753bbf625be46406d13542 Mon Sep 17 00:00:00 2001 From: Antonio Tarricone <110115827+antoniotarricone@users.noreply.github.com> Date: Wed, 18 Oct 2023 17:30:24 +0200 Subject: [PATCH] chore: Fixed tag content. (#70) --- .github/workflows/build-n-push-main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-n-push-main.yml b/.github/workflows/build-n-push-main.yml index 42b18ce9..bca1bf6c 100644 --- a/.github/workflows/build-n-push-main.yml +++ b/.github/workflows/build-n-push-main.yml @@ -96,7 +96,9 @@ jobs: # Build Docker image. # - name: Build Docker image - run: docker build -f src/main/docker/Dockerfile.native-micro -t ghcr.io/${{ github.repository }}:${{ github.ref }} . + run: | + BRANCH_NAME=${GITHUB_REF////_}" + docker build -f src/main/docker/Dockerfile.native-micro -t ghcr.io/${{ github.repository }}:$BRANCH_NAME . # # Push Docker image.