diff --git a/.github/workflows/ci-testing.yml b/.github/workflows/ci-testing.yml index 5f60746370df..6a7398505258 100644 --- a/.github/workflows/ci-testing.yml +++ b/.github/workflows/ci-testing.yml @@ -89,6 +89,8 @@ jobs: echo "GITHUB_EVENT_NAME is $GITHUB_EVENT_NAME" echo "GITHUB_WORKFLOW is $GITHUB_WORKFLOW" echo "GITHUB_ACTOR is $GITHUB_ACTOR" + echo "GITHUB_REPOSITORY is $GITHUB_REPOSITORY" + echo "GITHUB_REPOSITORY_OWNER is $GITHUB_REPOSITORY_OWNER" - name: Run tests shell: bash run: | diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index d0d37f2fc012..c89d0ada3219 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -1,15 +1,15 @@ # YOLOv5 🚀 by Ultralytics, GPL-3.0 license +# Builds ultralytics/yolov5:latest images on DockerHub https://hub.docker.com/r/ultralytics/yolov5 name: Publish Docker Images on: push: branches: [ master ] - # pull_request: - # branches: [master] jobs: docker: + if: github.repository == 'ultralytics/yolov5' name: Push Docker image to Docker Hub runs-on: ubuntu-latest steps: