Add Dockerfile
Some checks failed
Build and Push Docker Image / build (push) Failing after 6s

This commit is contained in:
Jay
2026-03-31 10:47:22 +01:00
parent a4f3d40543
commit 140ca2d2e5
2 changed files with 37 additions and 29 deletions

View File

@@ -0,0 +1,26 @@
name: Build and Push Docker Image
on:
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to Gitea Registry
run: |
echo "${{ secrets.REGISTRY_TOKEN }}" | docker login gitea.umbra.mom \
-u "${{ secrets.REGISTRY_USER }}" --password-stdin
- name: Build image
run: |
docker build -t gitea.umbra.mom/jay/pub-quiz:latest .
- name: Push image
run: |
docker push gitea.umbra.mom/jay/pub-quiz:latest