From a7aae6470affb17f3ef2675c1af8ac9ff72b265e Mon Sep 17 00:00:00 2001 From: Romaric P Date: Sun, 1 Dec 2024 07:58:15 -0800 Subject: [PATCH] fix: GitHub Actions --- .github/workflows/release.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dd43b23..c44f355 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -70,6 +70,10 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} + - name: Convert repository name to lowercase + id: repo_name + run: echo "REPO=$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]')" >> $GITHUB_OUTPUT + - name: Build and push Docker image uses: docker/build-push-action@v5 with: @@ -77,5 +81,5 @@ jobs: push: true platforms: linux/amd64,linux/arm64 tags: | - ghcr.io/${{ github.repository }}:latest - ghcr.io/${{ github.repository }}:${{ steps.get_version.outputs.VERSION }} \ No newline at end of file + ghcr.io/${{ steps.repo_name.outputs.REPO }}:latest + ghcr.io/${{ steps.repo_name.outputs.REPO }}:${{ steps.get_version.outputs.VERSION }} \ No newline at end of file