mirror of
https://github.com/Chewbaccalakis/rfid-database.git
synced 2026-09-09 16:01:56 -07:00
Publish Docker image to GHCR on each main build (#8)
Add a Docker workflow that builds on PRs and pushes to ghcr.io/chewbaccalakis/rfid-database on main (latest + sha) and v* tags. Drop the redundant docker-build job from CI. Co-authored-by: Cursor Agent <[email protected]>
This commit is contained in:
co-authored by
Cursor Agent
parent
3bcdc14106
commit
443dba5bba
@@ -1,9 +1,13 @@
|
||||
services:
|
||||
rfid-database:
|
||||
# Local build (default):
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: rfid-database:local
|
||||
# Or pull from GHCR instead of building:
|
||||
# image: ghcr.io/chewbaccalakis/rfid-database:latest
|
||||
# pull_policy: always
|
||||
container_name: rfid-database
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
|
||||
Reference in New Issue
Block a user