Build and Push / build (release) Successful in 1m6s
- Add Dockerfile for containerized deployment (Python 3.12-slim, port 8000) - Add Gitea Actions workflow triggered on release publish - Builds and pushes to git.schweitz.net registry with latest and version tags - Bump version to 1.0.0 marking production-ready release - Update CHANGELOG with CI/CD and deployment configuration 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
28 lines
655 B
YAML
28 lines
655 B
YAML
name: Build and Push
|
|
|
|
on:
|
|
release:
|
|
types: [published]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Login to Gitea Registry
|
|
uses: docker/login-action@v3
|
|
with:
|
|
registry: git.schweitz.net
|
|
username: ${{ secrets.REGISTRY_USER }}
|
|
password: ${{ secrets.REGISTRY_PASSWORD }}
|
|
|
|
- name: Build and push
|
|
uses: docker/build-push-action@v5
|
|
with:
|
|
context: .
|
|
push: true
|
|
tags: |
|
|
git.schweitz.net/jpmschweitzer/tatlock:latest
|
|
git.schweitz.net/jpmschweitzer/tatlock:${{ github.ref_name }}
|