npm (lockfile + catalog): tanstack, @tauri-apps/*, turbo 2.9.x, biome, vite, @vitejs/plugin-react, vitest+coverage-v8 4.1.8 (lockstep), @playwright/test, and jsdom 26->29 (major). cargo: tauri 2.11.2, tauri-plugin-http 2.5.9, tauri-build 2.6.2, serde_json. github-actions: docker setup-qemu v4, setup-buildx v4, build-push v7. Validated: make ci-web, cargo-check, actionlint.
47 lines
1.1 KiB
YAML
47 lines
1.1 KiB
YAML
name: Publish web image
|
|
|
|
on:
|
|
release:
|
|
types: [published]
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
packages: write
|
|
|
|
jobs:
|
|
publish:
|
|
name: Build & push web image to GHCR
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: docker/setup-qemu-action@v4
|
|
- uses: docker/setup-buildx-action@v4
|
|
|
|
- uses: docker/login-action@v3
|
|
with:
|
|
registry: ghcr.io
|
|
username: ${{ github.actor }}
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- id: meta
|
|
uses: docker/metadata-action@v5
|
|
with:
|
|
images: ghcr.io/${{ github.repository_owner }}/openconcho-web
|
|
tags: |
|
|
type=semver,pattern={{version}}
|
|
type=semver,pattern={{major}}.{{minor}}
|
|
type=raw,value=latest
|
|
type=sha,format=short
|
|
|
|
- uses: docker/build-push-action@v7
|
|
with:
|
|
context: .
|
|
platforms: linux/amd64,linux/arm64
|
|
push: true
|
|
tags: ${{ steps.meta.outputs.tags }}
|
|
labels: ${{ steps.meta.outputs.labels }}
|
|
cache-from: type=gha
|
|
cache-to: type=gha,mode=max
|