From 7e873c17979905ee0f00fc4bb90754525d212e4f Mon Sep 17 00:00:00 2001 From: Robert Sachunsky <38561704+bertsky@users.noreply.github.com> Date: Fri, 2 Aug 2024 15:21:24 +0200 Subject: [PATCH] GHA CD: lowercase repo name --- .github/workflows/docker-image.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 49cb747..e9ee517 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -6,7 +6,7 @@ on: branches: [ "master" ] env: - IMAGE_NAME: ghcr.io/${{ github.repository }} + REPO_NAME: ${{ github.repository }} jobs: @@ -30,6 +30,8 @@ jobs: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} + - name: define image name from repo name + run: echo "IMAGE_NAME=${REPO_NAME,,}" >> $GITHUB_ENV - name: Build the Docker image run: make docker DOCKER_TAG=${{ env.IMAGE_NAME }} - name: Push to Github Container Registry