Files
pub-quiz/.gitea/workflows/docker.yaml
Jay 140ca2d2e5
Some checks failed
Build and Push Docker Image / build (push) Failing after 6s
Add Dockerfile
2026-03-31 10:47:22 +01:00

27 lines
586 B
YAML

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