Merge pull request #1209 from wizarrrr/dependabot/npm_and_yarn/app/st… #926
This file contains hidden or 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: wizarr-ci # main “code + Docker” pipeline | |
| on: | |
| push: | |
| branches: [ main ] | |
| paths-ignore: # skip pure-translation commits | |
| - 'app/translations/**' | |
| - .github/ | |
| workflow_dispatch: {} # manual run | |
| env: | |
| PYTHON_VERSION: '3.13' | |
| NODE_VERSION: '20' | |
| jobs: | |
| docker-dev: | |
| runs-on: blacksmith-4vcpu-ubuntu-2404 | |
| permissions: | |
| contents: read | |
| packages: write | |
| steps: | |
| - uses: actions/checkout@v6 | |
| # ─────── Generate uv.lock for reproducible builds ─────── | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ env.PYTHON_VERSION }} | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Generate uv.lock | |
| run: uv lock | |
| # ─────── Docker bits ─────── | |
| - name: Log in to GHCR | |
| uses: docker/login-action@v4 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Set up QEMU | |
| uses: docker/setup-qemu-action@v4 | |
| - name: Setup Blacksmith Builder | |
| uses: useblacksmith/setup-docker-builder@v1 | |
| - name: Build & push multi-arch :dev image | |
| uses: useblacksmith/build-push-action@v2 | |
| with: | |
| context: . | |
| push: true | |
| platforms: linux/amd64,linux/arm64 | |
| tags: ghcr.io/${{ github.repository_owner }}/wizarr:dev |