-
Notifications
You must be signed in to change notification settings - Fork 3.1k
40 lines (34 loc) · 1.02 KB
/
autoware-base.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: autoware-base
on:
push:
branches:
- main
paths:
- docker/Dockerfile.base
- docker/scripts/cleanup_*.sh
- .github/actions/docker-build-and-push-base/*
- .github/workflows/autoware-base.yaml
schedule:
- cron: 0 0 15 * * # every 15th of the month
workflow_dispatch:
jobs:
load-env:
uses: ./.github/workflows/load-env.yaml
autoware-base:
needs: load-env
runs-on: ubuntu-22.04
steps:
- name: Check out this repository
uses: actions/checkout@v4
- name: Free disk space
uses: ./.github/actions/free-disk-space
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Build Autoware's base images
uses: ./.github/actions/docker-build-and-push-base
with:
target-image: autoware-base
build-args: |
*.platform=linux/amd64,linux/arm64
*.args.ROS_DISTRO=${{ needs.load-env.outputs.rosdistro }}
*.args.BASE_IMAGE=${{ needs.load-env.outputs.base_image }}