mirror of
https://github.com/agentrhq/authsome.git
synced 2026-09-19 01:34:19 +08:00
ff592fde59
Calling setActiveView/setConnectionFilter inside useEffect body triggered the react-hooks/set-state-in-effect lint error. Initialise both states directly from URL params via lazy useState initialisers so no effect is needed, and remove the now-unused useEffect import. Also scope Docker build to version tags only (release-please triggers), and restrict Python Tests to push/PR against main. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
25 lines
446 B
YAML
25 lines
446 B
YAML
name: Docker build
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- 'v*'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v3
|
|
|
|
- name: Build image
|
|
uses: docker/build-push-action@v6
|
|
with:
|
|
context: .
|
|
push: false
|
|
tags: authsome:ci
|
|
cache-from: type=gha
|
|
cache-to: type=gha,mode=max
|