Make Docker actions conditional on ultralytics/yolov5 repo (#8060)

* Update ci-testing.yml

* Update ci-testing.yml

* Update ci-testing.yml

* Update docker.yml
This commit is contained in:
Glenn Jocher authored and GitHub committed 2022-05-31 16:36:57 +02:00
1 parent 6dd6aea086
commit 7d87b9eae8
2 files changed
+4 -2

No files matched your search

+2 -2
View File
@@ -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: