diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml new file mode 100644 index 0000000..ebdaf51 --- /dev/null +++ b/.github/workflows/docker-build.yml @@ -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 }} diff --git a/.github/workflows/ts-lint.yml b/.github/workflows/ts-lint.yml index cad24d2..241a296 100644 --- a/.github/workflows/ts-lint.yml +++ b/.github/workflows/ts-lint.yml @@ -1,7 +1,7 @@ name: TS Lint concurrency: - group: py-lint-${{ github.ref }} + group: ts-lint-${{ github.ref }} cancel-in-progress: true on: diff --git a/README.md b/README.md index d15cb73..232f7fb 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![](https://git.klemek.fr/klemek/tout-doux/actions/workflows/lint.yml/badge.svg?branch=main&style=flat-square)](https://git.klemek.fr/klemek/tout-doux/actions?workflow=lint.yml) +[![](https://git.klemek.fr/klemek/tout-doux/actions/workflows/py-lint.yml/badge.svg?branch=main&style=flat-square)](https://git.klemek.fr/klemek/tout-doux/actions?workflow=py-lint.yml) [![](https://git.klemek.fr/klemek/tout-doux/actions/workflows/ts-lint.yml/badge.svg?branch=main&style=flat-square)](https://git.klemek.fr/klemek/tout-doux/actions?workflow=ts-lint.yml) [![](https://git.klemek.fr/klemek/tout-doux/actions/workflows/docker-build.yml/badge.svg?branch=main&style=flat-square)](https://git.klemek.fr/klemek/tout-doux/actions?workflow=docker-build.yml) ## TODO @@ -19,7 +19,8 @@ - [x] list per URL - [x] home screen - [x] share link -- [ ] fill new list with "fill todo" item - [x] lang in cookies - [x] Dockerfile +- [ ] html cards +- [ ] favicon - [ ] README