c95738d0a0
Build & Deploy / build (release) Has been cancelled
- 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>
25 lines
668 B
YAML
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 }}
|