From 5caebcec9d4927cb8062ed862cb84d15a5551319 Mon Sep 17 00:00:00 2001 From: JP Lomas Date: Thu, 27 Jun 2024 17:50:13 +0100 Subject: [PATCH] Convert to lower case for container registry --- .github/workflows/push.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index cb88563..4fdd278 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -22,8 +22,11 @@ jobs: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} + - id: read-docker-image-identifiers + name: Read Docker Image Identifiers + run: echo ::set-env name=IMAGE_REPOSITORY::$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]') - name: Build and push uses: docker/build-push-action@v2 with: push: true - tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.event.inputs.tag }} \ No newline at end of file + tags: ${{ env.IMAGE_REPOSITORY }}/${{ env.IMAGE_NAME }}:${{ github.event.inputs.tag }} \ No newline at end of file