From 522ac0b4e149cfb5b723333823a7c5e5022678bd Mon Sep 17 00:00:00 2001 From: Kevin Kopf <45859859+kevinkopf@users.noreply.github.com> Date: Wed, 21 Jun 2023 01:47:44 +0200 Subject: [PATCH] Fix the ref name when building the image --- .github/workflows/docker-image.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 8ee9516..416f59f 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -9,4 +9,4 @@ jobs: steps: - uses: actions/checkout@v3 - name: Build the Docker image - run: docker build . --file Dockerfile --tag ${GITHUB_REPOSITORY}:${GITHUB_REF} --tag ${GITHUB_REPOSITORY}:latest + run: docker build . --file Dockerfile --tag ${GITHUB_REPOSITORY}:${GITHUB_REF_NAME} --tag ${GITHUB_REPOSITORY}:latest