pyro-mcp/.github/workflows/publish-environments.yml

45 lines
995 B
YAML

name: Publish Environments
on:
workflow_dispatch:
release:
types:
- published
permissions:
contents: read
concurrency:
group: publish-environments-${{ github.ref }}
cancel-in-progress: false
jobs:
publish:
runs-on: ubuntu-24.04
env:
UV_CACHE_DIR: .uv-cache
OCI_REGISTRY_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
OCI_REGISTRY_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }}
steps:
- name: Check out source
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Set up uv
uses: astral-sh/setup-uv@v6
- name: Install project dependencies
run: make setup
- name: Run project checks
run: make check
- name: Build real runtime inputs
run: make runtime-materialize
- name: Publish official environments to Docker Hub
run: make runtime-publish-official-environments-oci