Add Dockerfile-python to CI (#3816)

pull/3803/head
Glenn Jocher 1 year ago committed by GitHub
parent e4ddbcf01b
commit 38060b3d40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 19
      .github/workflows/docker.yaml

@ -12,10 +12,11 @@ on:
type: choice
description: Select Docker Image
options:
- Arm64
- Jetson
- CPU
- GPU
- Arm64
- Jetson
- Python
- CPU
- GPU
jobs:
docker:
@ -60,6 +61,16 @@ jobs:
push: true
tags: ultralytics/ultralytics:latest-jetson
- name: Build and push Python image
if: github.event_name == 'push' || github.event.inputs.image == 'Python'
uses: docker/build-push-action@v4
continue-on-error: true
with:
context: .
file: docker/Dockerfile-python
push: true
tags: ultralytics/ultralytics:latest-python
- name: Build and push CPU image
if: github.event_name == 'push' || github.event.inputs.image == 'CPU'
uses: docker/build-push-action@v4

Loading…
Cancel
Save