@@ -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 : [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- 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,37 +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
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- =======
14671 - name : Set Docker metadata for "robot"
147- >>>>>>> a8681d0 (Add Docker BuildX config (#266))
14872 if : env.PUSH == 'true'
14973 id : meta-robot
15074@@ -154,35 +78,7 @@ jobs:
15478 tags : |
15579 type=raw,value=${{ matrix.ROS_DISTRO }}-robot
15680
157- <<<<<<< HEAD
158- - name : Build and push Docker image
159- 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- =======
18481 - name : Set Docker metadata for "desktop"
185- >>>>>>> a8681d0 (Add Docker BuildX config (#266))
18682 if : env.PUSH == 'true'
18783 id : meta-desktop
18884
0 commit comments