ci: docker build CI
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
name: Docker Build
|
||||
|
||||
concurrency:
|
||||
group: docker-build-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
BUILDKIT_VERSION: 'v0.29.0'
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
paths:
|
||||
- '.github/workflows/docker-build.yml'
|
||||
- 'package.json'
|
||||
- 'bun.lock'
|
||||
- 'resources/**'
|
||||
- 'pyproject.toml'
|
||||
- 'uv.lock'
|
||||
- '.python-version'
|
||||
- '**/*.py'
|
||||
- 'vite.config.ts'
|
||||
- 'tsconfig.*'
|
||||
- 'env.d.ts'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/cache@v4
|
||||
with:
|
||||
path: /var/lib/buildkit
|
||||
key: ${{ runner.os }}-buildkit-${{ env.BUILDKIT_VERSION }}
|
||||
- uses: actions/dockerfile-test-build@v1
|
||||
with:
|
||||
buildkit_version: ${{ env.BUILDKIT_VERSION }}
|
||||
@@ -1,7 +1,7 @@
|
||||
name: Python Lint CI
|
||||
|
||||
concurrency:
|
||||
group: ts-lint-${{ github.ref }}
|
||||
group: py-lint-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
on:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: TS Lint
|
||||
|
||||
concurrency:
|
||||
group: py-lint-${{ github.ref }}
|
||||
group: ts-lint-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
on:
|
||||
|
||||
Reference in New Issue
Block a user