diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index adff3a9..04d8945 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,9 +9,6 @@ on: name: CI -env: - REGISTRY_IMAGE: ghcr.io/${{ github.repository }} - jobs: build-image: name: Build and push image @@ -29,6 +26,7 @@ jobs: run: | platform=${{ matrix.platform }} echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV + echo "REGISTRY_IMAGE=`echo ghcr.io/${{github.repository}} | tr '[:upper:]' '[:lower:]'`" >> ${GITHUB_ENV} - name: Install Docker and start Colima on macOS if: matrix.os == 'macos-latest' @@ -94,6 +92,10 @@ jobs: needs: - build-image steps: + - name: Prepare + run: | + echo "REGISTRY_IMAGE=`echo ghcr.io/${{github.repository}} | tr '[:upper:]' '[:lower:]'`" >> ${GITHUB_ENV} + - name: Download digests uses: actions/download-artifact@v4 with: