ci: build + push Docker image to ghcr.io on master/tags
Some checks failed
CI / Build & Push Docker Image (push) Has been cancelled
CI / Check / Test (push) Has been cancelled

This commit is contained in:
2026-06-04 17:47:04 +02:00
parent 7e8a1b8379
commit b0bfc149e1
2 changed files with 50 additions and 8 deletions

View File

@@ -1,9 +1,11 @@
services:
app:
build:
context: .
args:
FEATURES: sqlite,sqlite-federation
image: ghcr.io/gkaszewski/movies-diary:latest
# To build from source instead: comment out "image" and uncomment "build"
# build:
# context: .
# args:
# FEATURES: sqlite,sqlite-federation
ports:
- "3000:3000"
env_file: .env
@@ -12,10 +14,11 @@ services:
restart: unless-stopped
worker:
build:
context: .
args:
FEATURES: sqlite,sqlite-federation
image: ghcr.io/gkaszewski/movies-diary:latest
# build:
# context: .
# args:
# FEATURES: sqlite,sqlite-federation
entrypoint: ["./worker"]
env_file: .env
volumes: