Skip to content

Commit

Permalink
feat(.github): separate autoware-base jobs (autowarefoundation#5487)
Browse files Browse the repository at this point in the history
* copy cleanup_system.sh

Signed-off-by: Yutaka Kondo <[email protected]>

* separate jobs

Signed-off-by: Yutaka Kondo <[email protected]>

* free disk space

Signed-off-by: Yutaka Kondo <[email protected]>

---------

Signed-off-by: Yutaka Kondo <[email protected]>
  • Loading branch information
youtalk authored Nov 26, 2024
1 parent cab53fc commit 9266f10
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions .github/workflows/autoware-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,35 @@ jobs:
load-env:
uses: ./.github/workflows/load-env.yaml

docker-build-and-push-base:
autoware-base-amd64:
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: Build Autoware's base images
uses: ./.github/actions/docker-build-and-push-base
with:
target-image: autoware-base
build-args: |
*.platform=linux/amd64
*.args.ROS_DISTRO=${{ needs.load-env.outputs.rosdistro }}
*.args.BASE_IMAGE=${{ needs.load-env.outputs.base_image }}
autoware-base-arm64:
needs: [load-env, autoware-base-amd64]
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

Expand All @@ -24,6 +46,6 @@ jobs:
with:
target-image: autoware-base
build-args: |
*.platform=linux/amd64,linux/arm64
*.platform=linux/arm64
*.args.ROS_DISTRO=${{ needs.load-env.outputs.rosdistro }}
*.args.BASE_IMAGE=${{ needs.load-env.outputs.base_image }}

0 comments on commit 9266f10

Please sign in to comment.