Skip to content

archutil: refactor generation and validation #3

archutil: refactor generation and validation

archutil: refactor generation and validation #3

Workflow file for this run

name: archutil
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
workflow_dispatch:
push:
branches:
- 'master'
- 'v[0-9]+.[0-9]+'
pull_request:
env:
SETUP_BUILDX_VERSION: "latest"
SETUP_BUILDKIT_IMAGE: "moby/buildkit:latest"
DESTDIR: "./bin"
jobs:
exits:
runs-on: ubuntu-22.04
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
version: ${{ env.SETUP_BUILDX_VERSION }}
driver-opts: image=${{ env.SETUP_BUILDKIT_IMAGE }}
buildkitd-flags: --debug
-
name: Generate exits
uses: docker/bake-action@v4
with:
targets: archutil-exits
-
name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: archutil-exits
path: ${{ env.DESTDIR }}/*
if-no-files-found: error