@@ -32,56 +32,10 @@ jobs:
3232 - name : Checkout
3333 uses : actions/checkout@v4
3434
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- =======
8035 - # Add support for more platforms with QEMU (optional)
8136 # https://github.com/docker/setup-qemu-action
8237 name : Set up QEMU
8338 uses : docker/setup-qemu-action@v3
84- >>>>>>> a8681d0 (Add Docker BuildX config (#266))
8539
8640 - name : Set up Docker Buildx
8741 uses : docker/setup-buildx-action@v3
@@ -114,36 +68,7 @@ jobs:
11468 tags : |
11569 type=raw,value=${{ matrix.ROS_DISTRO }}-ci
11670
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- =======
14571 - name : Set Docker metadata for "robot"
146- >>>>>>> a8681d0 (Add Docker BuildX config (#266))
14772 if : env.PUSH == 'true'
14873 id : meta-robot
14974@@ -153,35 +78,7 @@ jobs:
15378 tags : |
15479 type=raw,value=${{ matrix.ROS_DISTRO }}-robot
15580
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- =======
18381 - name : Set Docker metadata for "desktop"
184- >>>>>>> a8681d0 (Add Docker BuildX config (#266))
18582 if : env.PUSH == 'true'
18683 id : meta-desktop
18784
0 commit comments