diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 4c4f931..1acdea9 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -7,7 +7,7 @@ on: env: REGISTRY: ghcr.io - IMAGE_NAME: ${{ toLowerCase(github.repository) }} + IMAGE_NAME: jordan-dalby/bytestash jobs: docker: @@ -20,11 +20,6 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Convert repository name to lowercase - id: repo-name - run: | - echo "REPO_LOWERCASE=${GITHUB_REPOSITORY,,}" >> $GITHUB_ENV - - name: Set up QEMU uses: docker/setup-qemu-action@v3 @@ -42,7 +37,7 @@ jobs: id: meta uses: docker/metadata-action@v5 with: - images: ${{ env.REGISTRY }}/${{ env.REPO_LOWERCASE }} + images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | type=semver,pattern={{version}} type=raw,value=latest,enable={{is_default_branch}} @@ -55,5 +50,5 @@ jobs: push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.REPO_LOWERCASE }}:buildcache - cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.REPO_LOWERCASE }}:buildcache,mode=max \ No newline at end of file + cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache + cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache,mode=max \ No newline at end of file