Skip to content

chore(docker): improve Docker build caching #2115

chore(docker): improve Docker build caching

chore(docker): improve Docker build caching #2115

Workflow file for this run

name: PR Gate
# This gate simply validates that we can build the docker container.
on:
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: "true"
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build Docker image
id: build
uses: docker/build-push-action@v6
with:
context: .
cache-from: type=gha,scope=pr-gate
cache-to: type=gha,mode=max,scope=pr-gate