|
|
@ -12,10 +12,11 @@ on: |
|
|
|
type: choice |
|
|
|
type: choice |
|
|
|
description: Select Docker Image |
|
|
|
description: Select Docker Image |
|
|
|
options: |
|
|
|
options: |
|
|
|
- Arm64 |
|
|
|
- Arm64 |
|
|
|
- Jetson |
|
|
|
- Jetson |
|
|
|
- CPU |
|
|
|
- Python |
|
|
|
- GPU |
|
|
|
- CPU |
|
|
|
|
|
|
|
- GPU |
|
|
|
|
|
|
|
|
|
|
|
jobs: |
|
|
|
jobs: |
|
|
|
docker: |
|
|
|
docker: |
|
|
@ -60,6 +61,16 @@ jobs: |
|
|
|
push: true |
|
|
|
push: true |
|
|
|
tags: ultralytics/ultralytics:latest-jetson |
|
|
|
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 |
|
|
|
- name: Build and push CPU image |
|
|
|
if: github.event_name == 'push' || github.event.inputs.image == 'CPU' |
|
|
|
if: github.event_name == 'push' || github.event.inputs.image == 'CPU' |
|
|
|
uses: docker/build-push-action@v4 |
|
|
|
uses: docker/build-push-action@v4 |
|
|
|