mirror of
https://github.com/THU-MIG/yolov10.git
synced 2025-05-23 13:34:23 +08:00
Add Dockerfile-python to CI (#3816)
This commit is contained in:
parent
e4ddbcf01b
commit
38060b3d40
11
.github/workflows/docker.yaml
vendored
11
.github/workflows/docker.yaml
vendored
@ -14,6 +14,7 @@ on:
|
||||
options:
|
||||
- Arm64
|
||||
- Jetson
|
||||
- Python
|
||||
- CPU
|
||||
- GPU
|
||||
|
||||
@ -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…
x
Reference in New Issue
Block a user