diff --git a/.github/workflows/docker-build-push.yaml b/.github/workflows/docker-build-push.yaml index 16a86f1..3c3b717 100644 --- a/.github/workflows/docker-build-push.yaml +++ b/.github/workflows/docker-build-push.yaml @@ -17,6 +17,9 @@ jobs: - name: Checkout code uses: actions/checkout@v4 + - name: Set lowercase repository name + run: echo "REPO_LOWERCASE=${GITHUB_REPOSITORY,,}" >> $GITHUB_ENV + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 @@ -33,5 +36,5 @@ jobs: context: ./build-base file: ./build-base/Dockerfile push: true - tags: ghcr.io/${{ github.repository_owner | lower }}/${{ github.event.repository.name | lower }}/base:latest + tags: ghcr.io/${{ env.REPO_LOWERCASE }}/base:latest platforms: linux/amd64,linux/arm64