1818 PUSH : ${{ (github.event_name != 'pull_request') && (github.repository == 'Robotic-Decision-Making-Lab/blue') }}
1919
2020jobs :
21- mavros :
22- strategy :
23- fail-fast : false
24- matrix :
25- ROS_DISTRO : [rolling]
26- runs-on : ubuntu-latest
27- permissions :
28- packages : write
29- contents : read
30- steps :
31- - name : Checkout repository
32- uses : actions/checkout@v4
33-
34- - name : Log into registry
35- if : env.PUSH == 'true'
36- uses : docker/login-action@v3.3.0
37- with :
38- registry : ghcr.io
39- username : ${{ github.actor }}
40- password : ${{ secrets.GITHUB_TOKEN }}
41-
42- - name : Extract Docker metadata
43- if : env.PUSH == 'true'
44- id : meta
45- uses : docker/metadata-action@v5.5.1
46- with :
47- images : ghcr.io/${{ github.repository }}
48- tags : |
49- type=raw,value=${{ matrix.ROS_DISTRO }}-${{ github.job }}
50-
51- - name : Build and push Docker image
52- uses : docker/build-push-action@v6.5.0
53- with :
54- context : .
55- file : .docker/Dockerfile
56- build-args : ROS_DISTRO=${{ matrix.ROS_DISTRO }}
57- target : ${{ github.job }}
58- tags : ${{ steps.meta.outputs.tags }}
59- labels : ${{ steps.meta.outputs.labels }}
60- push : ${{ env.PUSH }}
61-
6221 ci :
6322 strategy :
6423 fail-fast : false
13897
13998 - name : Build and push Docker image
14099 uses : docker/build-push-action@v6.5.0
141- timeout-minutes : 600
142100 with :
143101 context : .
144102 file : .docker/Dockerfile
@@ -147,7 +105,8 @@ jobs:
147105 tags : ${{ steps.meta.outputs.tags }}
148106 labels : ${{ steps.meta.outputs.labels }}
149107 push : ${{ env.PUSH }}
150- platforms : linux/amd64,linux/arm64
108+ platforms : linux/arm64
109+ # platforms: linux/amd64,linux/arm64
151110
152111 desktop :
153112 strategy :
0 commit comments