Merge pull request #188 from docker/dependabot/github_actions/docker/… #254
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build-buildx | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
workflow_dispatch: | |
inputs: | |
pkgs: | |
description: 'Packages to build (minimal, all or space separated list)' | |
default: 'minimal' | |
required: false | |
type: string | |
fail-fast: | |
description: 'Fail fast' | |
default: true | |
required: false | |
type: boolean | |
push: | |
branches: | |
- 'main' | |
- 'buildx/[0-9]+.[0-9]+' | |
paths: | |
- '.github/workflows/.build.yml' | |
- '.github/workflows/build-buildx.yml' | |
- 'common/**' | |
- 'pkg/buildx/**' | |
pull_request: | |
branches: | |
- 'main' | |
- 'buildx/[0-9]+.[0-9]+' | |
paths: | |
- '.github/workflows/.build.yml' | |
- '.github/workflows/build-buildx.yml' | |
- 'common/**' | |
- 'pkg/buildx/**' | |
jobs: | |
run: | |
uses: ./.github/workflows/.build.yml | |
with: | |
name: buildx | |
secrets: inherit |