Skip to content

[v0.10][MCR v23][Backport] 4600 4602 4603 4604 #10

[v0.10][MCR v23][Backport] 4600 4602 4603 4604

[v0.10][MCR v23][Backport] 4600 4602 4603 4604 #10

Workflow file for this run

name: validate
on:
workflow_dispatch:
push:
branches:
- 'master'
- 'v[0-9]+.[0-9]+'
tags:
- 'v*'
- 'dockerfile/*'
pull_request:
env:
REPO_SLUG_ORIGIN: "moby/buildkit:latest"
BUILDX_VERSION: "v0.9.1" # leave empty to use the one available on GitHub virtual environment
jobs:
validate:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
include:
- script: ./hack/lint
- script: ./hack/validate-vendor
- script: ./hack/validate-generated-files
- script: ./hack/validate-shfmt
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
version: ${{ env.BUILDX_VERSION }}
driver-opts: image=${{ env.REPO_SLUG_ORIGIN }}
-
name: Run
run: |
${{ matrix.script }}