From 5d4f6fa197207af81feec995b3d7a4e1f0dc8c85 Mon Sep 17 00:00:00 2001 From: Ruairidh MacLeod Date: Wed, 26 Jun 2024 15:17:47 +0100 Subject: [PATCH] lowercase repo name --- .github/workflows/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index f14e28e..674a118 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -56,7 +56,7 @@ jobs: - < Dockerfile - name: Build Docker image run: | - img="ghcr.io/${{ github.repository }}" + img="ghcr.io/$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]')" version="$(grep _VERSION= Dockerfile | cut -d'"' -f2)" image_revision="$(grep _IMAGE_REVISION= Dockerfile | cut -d'"' -f2)" tag="${version}-${image_revision}"