File tree 1 file changed +10
-21
lines changed
1 file changed +10
-21
lines changed Original file line number Diff line number Diff line change 1
1
name : autoware-base
2
2
3
3
on :
4
+ push :
5
+ branches :
6
+ - main
7
+ paths :
8
+ - docker/Dockerfile.base
9
+ - docker/scripts/cleanup_*.sh
10
+ - .github/actions/docker-build-and-push-base/*
11
+ - .github/workflows/autoware-base.yaml
4
12
schedule :
5
13
- cron : 0 0 15 * * # every 15th of the month
6
14
workflow_dispatch :
9
17
load-env :
10
18
uses : ./.github/workflows/load-env.yaml
11
19
12
- autoware-base-amd64 :
20
+ autoware-base :
13
21
needs : load-env
14
22
runs-on : ubuntu-22.04
15
- steps :
16
- - name : Check out this repository
17
- uses : actions/checkout@v4
18
-
19
- - name : Free disk space
20
- uses : ./.github/actions/free-disk-space
21
-
22
- - name : Build Autoware's base images
23
- uses : ./.github/actions/docker-build-and-push-base
24
- with :
25
- target-image : autoware-base
26
- build-args : |
27
- *.platform=linux/amd64
28
- *.args.ROS_DISTRO=${{ needs.load-env.outputs.rosdistro }}
29
- *.args.BASE_IMAGE=${{ needs.load-env.outputs.base_image }}
30
-
31
- autoware-base-arm64 :
32
- needs : [load-env, autoware-base-amd64]
33
- runs-on : ubuntu-22.04
34
23
steps :
35
24
- name : Check out this repository
36
25
uses : actions/checkout@v4
46
35
with :
47
36
target-image : autoware-base
48
37
build-args : |
49
- *.platform=linux/arm64
38
+ *.platform=linux/amd64,linux/ arm64
50
39
*.args.ROS_DISTRO=${{ needs.load-env.outputs.rosdistro }}
51
40
*.args.BASE_IMAGE=${{ needs.load-env.outputs.base_image }}
You can’t perform that action at this time.
0 commit comments