Files
homeschool/.gitea/workflows/docker.yml
T
nmemmertandClaude Sonnet 4.6 74c4530060
Build and Push Docker Image / build-and-push (push) Successful in 3m56s
Migrate workflow from .github to .gitea/workflows
Switch registry from ghcr.io to git.necloud.us and update secrets
to REGISTRY_USER / REGISTRY_TOKEN for Gitea Actions compatibility.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-26 13:29:19 -04:00

29 lines
612 B
YAML

name: Build and Push Docker Image
on:
push:
branches:
- main
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Log in to Gitea Container Registry
uses: docker/login-action@v3
with:
registry: git.necloud.us
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: git.necloud.us/nate/homeschool:latest