Add Dockerfile-runner for CI actions runner images (#4595)
This commit is contained in:
parent
2567b288c9
commit
bd96c0846b
3 changed files with 41 additions and 1 deletions
3
.github/workflows/docker.yaml
vendored
3
.github/workflows/docker.yaml
vendored
|
|
@ -117,6 +117,9 @@ jobs:
|
|||
if: github.event_name == 'push' || (github.event.inputs.dockerfile == matrix.dockerfile && github.event.inputs.push == 'true')
|
||||
run: |
|
||||
docker push ultralytics/ultralytics:${{ matrix.tags }}
|
||||
if [[ "${{ matrix.tags }}" == "latest" ]]; then
|
||||
t=ultralytics/ultralytics:latest-runner && sudo docker build -f docker/Dockerfile-runner -t $t . && sudo docker push $t
|
||||
fi
|
||||
|
||||
- name: Notify on failure
|
||||
if: github.event_name == 'push' && failure() # do not notify on cancelled() as cancelling is performed by hand
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue