Skip to content

feat(docker): integrate cuda/no-cuda jobs into single job #317

feat(docker): integrate cuda/no-cuda jobs into single job

feat(docker): integrate cuda/no-cuda jobs into single job #317

Workflow file for this run

name: health-check
on:
pull_request:
types:
- opened
- synchronize
- reopened
- labeled
schedule:
- cron: 0 12 * * *
workflow_dispatch:
jobs:
label-check:
uses: autowarefoundation/autoware-github-actions/.github/workflows/make-sure-label-is-present.yaml@v1
with:
label: tag:run-health-check
load-env:
needs: label-check
if: ${{ needs.label-check.outputs.result == 'true' ||
github.event_name == 'schedule' ||
github.event_name == 'workflow_dispatch' }}
uses: ./.github/workflows/load-env.yaml
docker-build:
needs: load-env
runs-on: buildjet-16vcpu-ubuntu-2204
strategy:
fail-fast: false
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set git config
uses: autowarefoundation/autoware-github-actions/set-git-config@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Build 'Autoware'
uses: ./.github/actions/docker-build
with:
platform: amd64
cache-tag-suffix: main
build-args: |
ROS_DISTRO=${{ needs.load-env.outputs.rosdistro }}
BASE_IMAGE=${{ needs.load-env.outputs.base_image }}
LIB_DIR=x86_64
dockerhub-token: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Show disk space
run: |
df -h