Skip to content

Refactor grid to measure cache-awareness impact on grid tracing #99

Refactor grid to measure cache-awareness impact on grid tracing

Refactor grid to measure cache-awareness impact on grid tracing #99

name: Docker CI pipeline
on:
push:
branches: [ main ]
paths: 'docker/**'
pull_request:
branches: [ main ]
paths: 'docker/**'
schedule:
- cron: '0 0 * * 0' # Weekly on Sunday
jobs:
build-image:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ros_distro:
- noetic
- humble
- iron
- rolling
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build
uses: docker/build-push-action@v2
with:
context: .
file: docker/images/${{ matrix.ros_distro }}/Dockerfile
tags: ekumen/beluga-${{ matrix.ros_distro }}-dev:latest
push: false
cache-from: |
type=gha,scope=docker-${{ matrix.ros_distro }}-${{ github.head_ref || github.ref_name }}
type=gha,scope=docker-${{ matrix.ros_distro }}-${{ github.base_ref || github.ref_name }}
cache-to: type=gha,mode=min,scope=docker-${{ matrix.ros_distro }}-${{ github.head_ref || github.ref_name }}