Skip to content

Commit

Permalink
Fix docker ci repo_url (#3294)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
mreso authored Aug 21, 2024
1 parent 179cc4c commit 0901d4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0901d4b

Please sign in to comment.