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:
Nick Trochalakis
2026-08-24 04:10:58 +00:00
committed by GitHub
co-authored by Cursor Agent
parent 3bcdc14106
commit 443dba5bba
4 changed files with 82 additions and 10 deletions
-8
View File
@@ -22,11 +22,3 @@ jobs:
- run: npm run build
env:
AUTH_SECRET: ci-build-secret-at-least-32-characters
docker:
name: docker-build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build production image
run: docker build -t rfid-database:ci .