-
Notifications
You must be signed in to change notification settings - Fork 4
96 lines (95 loc) · 3.02 KB
/
docker_push.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
name: build_and_push_docker
on:
workflow_dispatch:
schedule:
- cron: 0 0 * * *
push:
branches:
- master
pull_request:
release:
types: [published]
jobs:
l4t_opencv:
name: build and push wamvtan/l4t_opencv
runs-on: ubuntu-22.04
timeout-minutes: 360
strategy:
matrix:
opencv_version: ["4.4.0", "4.5.0"]
steps:
- uses: actions/checkout@v2
- uses: ./.github/workflows/actions/cleanup_runner
- uses: ./.github/workflows/docker/l4t_opencv
with:
docker_username: ${{ secrets.DOCKER_USERNAME }}
docker_password: ${{ secrets.DOCKER_PASSWORD }}
opencv_version: ${{ matrix.opencv_version }}
dev_container:
name: build and push wamvtan/dev_container and wamvtan/dev_container_vnc
runs-on: ubuntu-22.04
timeout-minutes: 120
strategy:
fail-fast: false
max-parallel: 8
matrix:
gui: [novnc, vnc]
include:
- docker_image: wamvtan/dev_container
base_image: ubuntu:22.04
gui: novnc
entrypoint: entrypoint.sh
- docker_image: wamvtan/dev_container_vnc
base_image: tiryoh/ros2-desktop-vnc:humble-amd64-20230115T1406
gui: vnc
entrypoint: entrypoint_vnc.sh
steps:
- uses: actions/checkout@v2
- uses: ./.github/workflows/actions/cleanup_runner
- uses: ./.github/workflows/docker/dev_container
with:
docker_username: ${{ secrets.DOCKER_USERNAME }}
docker_password: ${{ secrets.DOCKER_PASSWORD }}
image_name: ${{ matrix.docker_image }}
base_image: ${{ matrix.base_image }}
entrypoint: ${{ matrix.entrypoint }}
yolox:
name: build and push wamvtan/yolox
runs-on: ubuntu-22.04
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- uses: ./.github/workflows/actions/cleanup_runner
- uses: ./.github/workflows/docker/yolox
with:
docker_username: ${{ secrets.DOCKER_USERNAME }}
docker_password: ${{ secrets.DOCKER_PASSWORD }}
yolox_trainer:
name: build and push wamvtan/yolox_trainer
runs-on: ubuntu-22.04
timeout-minutes: 30
needs: yolox
strategy:
matrix:
os: [linux-x64]
runner_version: [2.295.0]
steps:
- uses: actions/checkout@v2
- uses: ./.github/workflows/actions/cleanup_runner
- uses: ./.github/workflows/docker/yolox_trainer
with:
docker_username: ${{ secrets.DOCKER_USERNAME }}
docker_password: ${{ secrets.DOCKER_PASSWORD }}
github_actions_runner_version: ${{ matrix.runner_version }}
os_version: ${{ matrix.os }}
vrx:
name: build and push wamvtan/vrx
runs-on: ubuntu-22.04
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- uses: ./.github/workflows/actions/cleanup_runner
- uses: ./.github/workflows/docker/vrx
with:
docker_username: ${{ secrets.DOCKER_USERNAME }}
docker_password: ${{ secrets.DOCKER_PASSWORD }}