From 394756a03a78dfdafd16c0c7d8de8c3945b87a3b Mon Sep 17 00:00:00 2001 From: nullmames <85548668+nullmames@users.noreply.github.com> Date: Sat, 19 Mar 2022 18:49:40 +1100 Subject: [PATCH] Update deploy.yml second attempt to transform to lowercase --- .github/workflows/deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 489d1f3..49d5499 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -13,7 +13,7 @@ jobs: - name: build run: | echo "${{ secrets.GHCR_TOKEN }}" | docker login ghcr.io -u "${{ secrets.GHCR_USER }}" --password-stdin - docker build -f Dockerfile . --tag ghcr.io/${{ github.repository.toLowerCase() }}:${GITHUB_REF#refs/tags/} - docker tag ghcr.io/${{ github.repository.toLowerCase() }}:${GITHUB_REF#refs/tags/} ghcr.io/${{ github.repository }}:latest - docker push ghcr.io/${{ github.repository.toLowerCase() }}:${GITHUB_REF#refs/tags/} - docker push ghcr.io/${{ github.repository.toLowerCase() }}:latest + docker build -f Dockerfile . --tag ghcr.io/${{ toLowerCase(github.repository) }}:${GITHUB_REF#refs/tags/} + docker tag ghcr.io/${{ toLowerCase(github.repository) }}:${GITHUB_REF#refs/tags/} ghcr.io/${{ toLowerCase(github.repository) }}:latest + docker push ghcr.io/${{ toLowerCase(github.repository) }}:${GITHUB_REF#refs/tags/} + docker push ghcr.io/${{ toLowerCase(github.repository) }}:latest