Skip to content

feat(.github): add on:push:branches: condition to autoware-base w… #4

feat(.github): add on:push:branches: condition to autoware-base w…

feat(.github): add on:push:branches: condition to autoware-base w… #4

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 }}