Build and push image / build (push) Failing after 42s
Vendors webfetch-mcp (pinned commit, from the code.aneur.in mirror) and installs a pinned mcpo + mcp SDK version on a Python+Node base, wired together via a runtime entrypoint script so MCPO_API_KEY can be supplied at container start rather than baked into the image. Adds a Gitea Actions workflow to build and push on push to main. Closes #1 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
34 lines
729 B
YAML
34 lines
729 B
YAML
name: Build and push image
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
env:
|
|
IMAGE: code.aneur.in/cloud/webfetch-mcp-docker
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v3
|
|
|
|
- name: Log in to code.aneur.in registry
|
|
uses: docker/login-action@v3
|
|
with:
|
|
registry: code.aneur.in
|
|
username: ${{ secrets.PACKAGE_REGISTRY_USER }}
|
|
password: ${{ secrets.PACKAGE_REGISTRY_TOKEN }}
|
|
|
|
- name: Build and push
|
|
uses: docker/build-push-action@v5
|
|
with:
|
|
context: .
|
|
push: true
|
|
tags: ${{ env.IMAGE }}:latest
|