Skip to content

Add multiplatform images and a "Lite" version #82

Add multiplatform images and a "Lite" version

Add multiplatform images and a "Lite" version #82

name: Tools Container - PR Validation
on:
workflow_dispatch:
pull_request:
paths:
- 'docker/**'
jobs:
pr_validation:
name: PR Validation
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
# Build the container image
- name: Build container image
uses: docker/build-push-action@v6
with:
cache-from: ghcr.io/${{github.repository}}/tools:latest
file: docker/Dockerfile
context: docker
push: false
# Build the LITE multiArch container image
- name: '[LITE] Build container image'
uses: docker/build-push-action@v6
with:
cache-from: ghcr.io/${{github.repository}}/tools:lite
file: docker/Dockerfile.lite
context: docker
platforms: linux/amd64,linux/arm64
push: false