@@ -32,56 +32,10 @@ jobs:
32
32
- name : Checkout
33
33
uses : actions/checkout@v4
34
34
35
- <<<<<<< HEAD
36
- - name : Log into registry
37
- if : env.PUSH == 'true'
38
-
39
- with :
40
- registry : ghcr.io
41
- username : ${{ github.actor }}
42
- password : ${{ secrets.GITHUB_TOKEN }}
43
-
44
- - name : Extract Docker metadata
45
- if : env.PUSH == 'true'
46
- id : meta
47
-
48
- with :
49
- images : ghcr.io/${{ github.repository }}
50
- tags : |
51
- type=raw,value=${{ matrix.ROS_DISTRO }}-${{ github.job }}
52
-
53
- - name : Build and push Docker image
54
-
55
- with :
56
- context : .
57
- file : .docker/Dockerfile
58
- build-args : ROS_DISTRO=${{ matrix.ROS_DISTRO }}
59
- target : ${{ github.job }}
60
- tags : ${{ steps.meta.outputs.tags }}
61
- labels : ${{ steps.meta.outputs.labels }}
62
- push : ${{ env.PUSH }}
63
-
64
- robot :
65
- strategy :
66
- fail-fast : false
67
- matrix :
68
- ROS_DISTRO : [iron]
69
- runs-on : ubuntu-latest
70
- permissions :
71
- packages : write
72
- contents : read
73
- steps :
74
- - name : Checkout repository
75
- uses : actions/checkout@v4
76
-
77
- - name : Set up QEMU
78
-
79
- =======
80
35
- # Add support for more platforms with QEMU (optional)
81
36
# https://github.com/docker/setup-qemu-action
82
37
name : Set up QEMU
83
38
uses : docker/setup-qemu-action@v3
84
- >>>>>>> a8681d0 (Add Docker BuildX config (#266))
85
39
86
40
- name : Set up Docker Buildx
87
41
uses : docker/setup-buildx-action@v3
@@ -114,36 +68,7 @@ jobs:
114
68
tags : |
115
69
type=raw,value=${{ matrix.ROS_DISTRO }}-ci
116
70
117
- <<<<<<< HEAD
118
- - name : Build and push Docker image
119
-
120
- with :
121
- context : .
122
- file : .docker/Dockerfile
123
- build-args : ROS_DISTRO=${{ matrix.ROS_DISTRO }}
124
- target : ${{ github.job }}
125
- tags : ${{ steps.meta.outputs.tags }}
126
- labels : ${{ steps.meta.outputs.labels }}
127
- push : ${{ env.PUSH }}
128
- platforms : linux/amd64,linux/arm64
129
-
130
- desktop :
131
- strategy :
132
- fail-fast : false
133
- matrix :
134
- ROS_DISTRO : [iron]
135
- runs-on : ubuntu-latest
136
- permissions :
137
- packages : write
138
- contents : read
139
- steps :
140
- - name : Checkout repository
141
- uses : actions/checkout@v4
142
-
143
- - name : Log into registry
144
- =======
145
71
- name : Set Docker metadata for "robot"
146
- >>>>>>> a8681d0 (Add Docker BuildX config (#266))
147
72
if : env.PUSH == 'true'
148
73
id : meta-robot
149
74
@@ -153,35 +78,7 @@ jobs:
153
78
tags : |
154
79
type=raw,value=${{ matrix.ROS_DISTRO }}-robot
155
80
156
- <<<<<<< HEAD
157
- - name : Build and push Docker image
158
-
159
- with :
160
- context : .
161
- file : .docker/Dockerfile
162
- build-args : ROS_DISTRO=${{ matrix.ROS_DISTRO }}
163
- target : ${{ github.job }}
164
- tags : ${{ steps.meta.outputs.tags }}
165
- labels : ${{ steps.meta.outputs.labels }}
166
- push : ${{ env.PUSH }}
167
-
168
- desktop-nvidia :
169
- strategy :
170
- fail-fast : false
171
- matrix :
172
- ROS_DISTRO : [iron]
173
- runs-on : ubuntu-latest
174
- permissions :
175
- packages : write
176
- contents : read
177
- steps :
178
- - name : Checkout repository
179
- uses : actions/checkout@v4
180
-
181
- - name : Log into registry
182
- =======
183
81
- name : Set Docker metadata for "desktop"
184
- >>>>>>> a8681d0 (Add Docker BuildX config (#266))
185
82
if : env.PUSH == 'true'
186
83
id : meta-desktop
187
84
0 commit comments