Publish Docker image to GHCR on main builds

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.
This commit is contained in:
Cursor Agent
2026-08-24 04:06:00 +00:00
parent 3bcdc14106
commit 8ba92654c0
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 .