@@ -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
- uses : docker/login-action@v3.3.0
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
- uses : docker/metadata-action@v5.5.1
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
- uses : docker/build-push-action@v6.7.0
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 : [jazzy]
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
- uses : docker/setup-qemu-action@v3.2.0
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,37 +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
- uses : docker/build-push-action@v6.7.0
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
129
- # platforms: linux/amd64,linux/arm64
130
-
131
- desktop :
132
- strategy :
133
- fail-fast : false
134
- matrix :
135
- ROS_DISTRO : [jazzy]
136
- runs-on : ubuntu-latest
137
- permissions :
138
- packages : write
139
- contents : read
140
- steps :
141
- - name : Checkout repository
142
- uses : actions/checkout@v4
143
-
144
- - name : Log into registry
145
- =======
146
71
- name : Set Docker metadata for "robot"
147
- >>>>>>> a8681d0 (Add Docker BuildX config (#266))
148
72
if : env.PUSH == 'true'
149
73
id : meta-robot
150
74
uses : docker/metadata-action@v5.5.1
@@ -154,35 +78,7 @@ jobs:
154
78
tags : |
155
79
type=raw,value=${{ matrix.ROS_DISTRO }}-robot
156
80
157
- <<<<<<< HEAD
158
- - name : Build and push Docker image
159
- uses : docker/build-push-action@v6.7.0
160
- with :
161
- context : .
162
- file : .docker/Dockerfile
163
- build-args : ROS_DISTRO=${{ matrix.ROS_DISTRO }}
164
- target : ${{ github.job }}
165
- tags : ${{ steps.meta.outputs.tags }}
166
- labels : ${{ steps.meta.outputs.labels }}
167
- push : ${{ env.PUSH }}
168
-
169
- desktop-nvidia :
170
- strategy :
171
- fail-fast : false
172
- matrix :
173
- ROS_DISTRO : [jazzy]
174
- runs-on : ubuntu-latest
175
- permissions :
176
- packages : write
177
- contents : read
178
- steps :
179
- - name : Checkout repository
180
- uses : actions/checkout@v4
181
-
182
- - name : Log into registry
183
- =======
184
81
- name : Set Docker metadata for "desktop"
185
- >>>>>>> a8681d0 (Add Docker BuildX config (#266))
186
82
if : env.PUSH == 'true'
187
83
id : meta-desktop
188
84
uses : docker/metadata-action@v5.5.1
0 commit comments