From 0901d4bdd602a3fef96777646c2a60f17172c87a Mon Sep 17 00:00:00 2001 From: Matthias Reso <13337103+mreso@users.noreply.github.com> Date: Wed, 21 Aug 2024 15:17:30 -0700 Subject: [PATCH] Fix docker ci repo_url (#3294) * Replace git: in correct variable... * Use env.FORK for CI like #3266 did * DEBUG: dump github context * DEBUG: dump github context * Get repo url from head information --- .github/workflows/docker-ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-ci.yaml b/.github/workflows/docker-ci.yaml index bcd75d086c..09b796957d 100644 --- a/.github/workflows/docker-ci.yaml +++ b/.github/workflows/docker-ci.yaml @@ -39,8 +39,8 @@ jobs: working-directory: docker run: | IMAGE_TAG=test-image-${{ matrix.python-version }} - REPO_URL=$(echo ${{ steps.branch-name.outputs.GITHUB_BRANCH }} | sed 's/^git:\/\//https:\/\//') - ./build_image.sh -py "${{ matrix.python-version }}" -t "${IMAGE_TAG}" -b "${REPO_URL}" -repo ${{ github.repositoryUrl }} -s + REPO_URL=${{ github.event.pull_request.head.repo.clone_url }} + ./build_image.sh -py "${{ matrix.python-version }}" -t "${IMAGE_TAG}" -b "${{ steps.branch-name.outputs.GITHUB_BRANCH }}" -repo ${REPO_URL} -s echo "IMAGE_TAG=${IMAGE_TAG}" >> $GITHUB_OUTPUT - name: Container Healthcheck