Files
pub-quiz/.gitea/workflows/docker.yaml
Jay 5af1d503d2
Some checks failed
Build and Push Docker Image / build (push) Failing after 17s
Add debug to workflow
2026-03-31 15:37:44 +01:00

31 lines
710 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
env:
REGISTRY_USER: ${{ secrets.REGISTRY_USER }}
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
run: |
echo "$REGISTRY_TOKEN" | docker login gitea.umbra.mom:3000 \
-u "$REGISTRY_USER" \
--password-stdin
- name: Build image
run: |
docker build -t gitea.umbra.mom:3000/jay/pub-quiz:latest .
- name: Push image
run: |
docker push gitea.umbra.mom:3000/jay/pub-quiz:latest