initial a2a-pack

This commit is contained in:
robert
2026-05-08 21:59:51 -03:00
commit b6f6cd1643
29 changed files with 3218 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
name: build
on:
push:
branches: [main]
paths-ignore:
- 'deploy/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: build base image
run: |
IMG=registry.127-0-0-1.nip.io/a2a/a2a-pack-base
VERSION=$(grep '^version' pyproject.toml | head -1 | cut -d'"' -f2)
docker build -t $IMG:$VERSION -t $IMG:${{ github.sha }} -t $IMG:latest .
docker push $IMG:$VERSION
docker push $IMG:${{ github.sha }}
docker push $IMG:latest
echo "pushed a2a-pack-base:$VERSION (and :latest, :${{ github.sha }})"