mirror of
https://github.com/docker/actions-toolkit.git
synced 2024-11-23 03:16:09 +08:00
e2dbc9880e
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
35 lines
602 B
YAML
35 lines
602 B
YAML
name: build
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
pull_request:
|
|
paths-ignore:
|
|
- '.github/*-releases.json'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
node_version:
|
|
- 20
|
|
- 18
|
|
steps:
|
|
-
|
|
name: Checkout
|
|
uses: actions/checkout@v4
|
|
-
|
|
name: Build
|
|
uses: docker/bake-action@v5
|
|
with:
|
|
targets: build
|
|
env:
|
|
NODE_VERSION: ${{ matrix.node_version }}
|