Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create docker.yml #7856

Merged
merged 10 commits into from
May 17, 2022
Merged

Create docker.yml #7856

merged 10 commits into from
May 17, 2022

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented May 17, 2022

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Automated deployment of updated YOLOv5 Docker images to Docker Hub upon code pushes.

πŸ“Š Key Changes

  • 🐳 Added a new GitHub Actions workflow for building and pushing Docker images.
  • πŸš€ Images for both CPU and GPU versions will be built and pushed automatically.
  • βœ‚οΈ Removed explicit torch and torchvision installation in Dockerfiles, relying on requirements.txt instead.
  • πŸ”§ Renamed Dockerfile-M1 to Dockerfile-arm64 to reflect broader arm64 compatibility.

🎯 Purpose & Impact

  • πŸ”„ Continuous Deployment: Ensures the latest version of YOLOv5 is always available as a Docker image, simplifying deployment for users.
  • πŸ” Streamlining: By removing explicit dependencies from the Dockerfiles, the process leverages requirements.txt for dependency management, reducing duplication and maintenance effort.
  • 🌐 Broader Support: Renaming the M1 Dockerfile to arm64 indicates support for the wider range of ARM64 architectures, expanding the user base.
  • πŸ“¦ Ease of Use: With automatic Docker Hub updates, users can easily pull the most recent YOLOv5 without having to manually build images, offering a more seamless experience.

@glenn-jocher glenn-jocher merged commit d7d2b10 into master May 17, 2022
@glenn-jocher glenn-jocher deleted the update/docker_action branch May 17, 2022 12:11
@glenn-jocher glenn-jocher self-assigned this May 17, 2022
tdhooghe pushed a commit to tdhooghe/yolov5 that referenced this pull request Jun 10, 2022
* Create docker.yml

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update docker.yml

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update docker.yml

* Update docker.yml

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Cleanup

* Cleanup2

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
ctjanuhowski pushed a commit to ctjanuhowski/yolov5 that referenced this pull request Sep 8, 2022
* Create docker.yml

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update docker.yml

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update docker.yml

* Update docker.yml

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Cleanup

* Cleanup2

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant