disable github workflow for now
This commit is contained in:
parent
fc1f6ac728
commit
dd4dada65d
2 changed files with 38 additions and 94 deletions
76
.github/workflows/docker-image.yml
vendored
76
.github/workflows/docker-image.yml
vendored
|
|
@ -1,43 +1,43 @@
|
||||||
name: Build and Publish image to Docker Hub
|
# name: Build and Publish image to Docker Hub
|
||||||
on:
|
# on:
|
||||||
push:
|
# push:
|
||||||
branches:
|
# branches:
|
||||||
- master
|
# - master
|
||||||
tags:
|
# tags:
|
||||||
- 'v*'
|
# - 'v*'
|
||||||
|
|
||||||
jobs:
|
# jobs:
|
||||||
publish_images:
|
# publish_images:
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
steps:
|
# steps:
|
||||||
- name: checkout
|
# - name: checkout
|
||||||
uses: actions/checkout@v4
|
# uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Extract metadata (tags, labels) for Docker
|
# - name: Extract metadata (tags, labels) for Docker
|
||||||
id: meta
|
# id: meta
|
||||||
uses: docker/metadata-action@v5
|
# uses: docker/metadata-action@v5
|
||||||
with:
|
# with:
|
||||||
images: arnaudcayrol/immich-selfie-timelapse
|
# images: arnaudcayrol/immich-selfie-timelapse
|
||||||
tags: |
|
# tags: |
|
||||||
type=ref,event=branch
|
# type=ref,event=branch
|
||||||
type=ref,event=tag
|
# type=ref,event=tag
|
||||||
type=semver,pattern={{version}}
|
# type=semver,pattern={{version}}
|
||||||
type=semver,pattern={{major}}.{{minor}}
|
# type=semver,pattern={{major}}.{{minor}}
|
||||||
type=raw,value=latest,enable={{is_default_branch}}
|
# type=raw,value=latest,enable={{is_default_branch}}
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
# - name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
# uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
- name: Login to Docker Hub
|
# - name: Login to Docker Hub
|
||||||
uses: docker/login-action@v3
|
# uses: docker/login-action@v3
|
||||||
with:
|
# with:
|
||||||
username: arnaudcayrol
|
# username: arnaudcayrol
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
# password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Build and push
|
# - name: Build and push
|
||||||
uses: docker/build-push-action@v5
|
# uses: docker/build-push-action@v5
|
||||||
with:
|
# with:
|
||||||
context: .
|
# context: .
|
||||||
push: true
|
# push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
# tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
# labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
|
|
||||||
|
|
@ -1,56 +0,0 @@
|
||||||
# Immich Selfie Timelapse Configuration
|
|
||||||
# Copy this file to config.toml and fill in your values.
|
|
||||||
# Environment variables (IMMICH_API_KEY, IMMICH_BASE_URL) override these settings.
|
|
||||||
|
|
||||||
# Output directory for processed images and video
|
|
||||||
output_dir = "output"
|
|
||||||
|
|
||||||
[api]
|
|
||||||
# Your Immich API key (get from Immich user settings)
|
|
||||||
api_key = "your-api-key-here"
|
|
||||||
|
|
||||||
# Immich server URL (/api suffix is optional, will be added automatically)
|
|
||||||
base_url = "http://192.168.1.100:2283"
|
|
||||||
|
|
||||||
# Request timeout in seconds
|
|
||||||
timeout_secs = 30
|
|
||||||
|
|
||||||
[processing]
|
|
||||||
# Output image size (width and height in pixels)
|
|
||||||
resize_size = 512
|
|
||||||
|
|
||||||
# Minimum face size in pixels (faces smaller than this are skipped)
|
|
||||||
face_resolution_threshold = 80
|
|
||||||
|
|
||||||
# Maximum head yaw angle in degrees (filters out turned heads)
|
|
||||||
pose_threshold = 25.0
|
|
||||||
|
|
||||||
# Eye Aspect Ratio threshold (filters out closed eyes)
|
|
||||||
ear_threshold = 0.2
|
|
||||||
|
|
||||||
# Target position for left eye as [x%, y%] from top-left
|
|
||||||
left_eye_pos = [0.35, 0.4]
|
|
||||||
|
|
||||||
# Target position for right eye as [x%, y%] from top-left
|
|
||||||
right_eye_pos = [0.65, 0.4]
|
|
||||||
|
|
||||||
# Number of parallel workers (defaults to CPU count)
|
|
||||||
# max_workers = 4
|
|
||||||
|
|
||||||
# Save debug visualizations showing processing steps
|
|
||||||
# Saves to: output/{person}/debug/crop/ (image with bounding box and crop region overlayed)
|
|
||||||
# Future: debug/landmarks/, debug/alignment/
|
|
||||||
keep_intermediates = false
|
|
||||||
|
|
||||||
[video]
|
|
||||||
# Output video framerate
|
|
||||||
framerate = 15
|
|
||||||
|
|
||||||
# Whether to compile video after processing
|
|
||||||
enabled = true
|
|
||||||
|
|
||||||
# Video codec
|
|
||||||
codec = "libx264"
|
|
||||||
|
|
||||||
# Constant Rate Factor (quality: lower = better, 18-28 recommended)
|
|
||||||
crf = 23
|
|
||||||
Loading…
Reference in a new issue