Files
pub-quiz/.gitea/workflows/docker.yaml
Jay 2dfd012b44
Some checks failed
Build and Push Docker Image / build (push) Failing after 5s
Add Dockerfile
2026-03-31 10:51:28 +01:00

27 lines
568 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 "${{ variables.REGISTRY_USER }}" --password-stdin
- name: Build image
run: |
docker build -t gitea/jay/pub-quiz:latest .
- name: Push image
run: |
docker push gitea/jay/pub-quiz:latest