Skip to content

try to use cache for docker build #248

try to use cache for docker build

try to use cache for docker build #248

Workflow file for this run

name: C/C++ CI docker
on: [push]
jobs:
build:
strategy:
matrix:
include:
- os: ubuntu-latest
dockerfile: Dockerfile.arm64
label: arm64
- os: ubuntu-latest
dockerfile: Dockerfile.rpi
label: armv6l
- os: ubuntu-latest
dockerfile: Dockerfile
label: amd64
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Build an image from Dockerfile
run: docker build -t docker.io/${{ github.repository }}:${{ matrix.label }} -f ${{ matrix.dockerfile }} .