Files
Tools/.gitea/workflows/deploy.yaml
T
Nirodan c95738d0a0
Build & Deploy / build (release) Has been cancelled
Migrate CI/CD from Gitea Registry to Docker Hub, remove Watchtower
- Switch runner to self-hosted
- Docker login and image paths now target docker.io / DEINUSERNAME
- Replace Watchtower with Unraid built-in container update
- Add section for external users pulling the public image
- Update .gitignore to exclude .claude/

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-22 09:17:38 +02:00

25 lines
668 B
YAML

name: Build & Deploy
on:
release:
types: [published]
jobs:
build:
runs-on: self-hosted
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to Docker Hub
run: |
echo "${{ secrets.REGISTRY_TOKEN }}" | docker login docker.io \
-u ${{ secrets.REGISTRY_USER }} --password-stdin
- name: Build & Push latest + version tag
run: |
docker build -t DEINUSERNAME/tools-app:latest .
docker build -t DEINUSERNAME/tools-app:${{ gitea.ref_name }} .
docker push DEINUSERNAME/tools-app:latest
docker push DEINUSERNAME/tools-app:${{ gitea.ref_name }}