- Add pyproject.toml with project metadata and version 1.0.0 - Update config.py to load version from pyproject.toml - Update Dockerfile to include pyproject.toml in build - Add CHANGELOG.md documenting initial release - Update build workflow registry to internal domain 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
28 lines
672 B
YAML
28 lines
672 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.internal
|
|
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.internal/jpmschweitzer/core-api:latest
|
|
git.schweitz.internal/jpmschweitzer/core-api:${{ github.ref_name }}
|