Skip to content
This repository was archived by the owner on Apr 24, 2026. It is now read-only.

Commit 2a987ac

Browse files
committed
we may need this
1 parent f745261 commit 2a987ac

1 file changed

Lines changed: 43 additions & 0 deletions

File tree

.github/workflows/build.yaml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Build and Push agent-manager
2+
3+
on:
4+
push:
5+
branches: [main]
6+
workflow_dispatch:
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: read
13+
packages: write
14+
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v4
18+
with:
19+
submodules: false
20+
21+
- name: Set up QEMU for multi-arch builds
22+
uses: docker/setup-qemu-action@v3
23+
24+
- name: Set up Docker Buildx
25+
uses: docker/setup-buildx-action@v3
26+
27+
- name: Login to GHCR
28+
uses: docker/login-action@v3
29+
with:
30+
registry: ghcr.io
31+
username: ${{ github.actor }}
32+
password: ${{ secrets.GITHUB_TOKEN }}
33+
34+
- name: Build and push multi-platform
35+
uses: docker/build-push-action@v6
36+
with:
37+
context: ./agent-manager
38+
file: ./agent-manager/Dockerfile
39+
platforms: linux/amd64,linux/arm64/v8
40+
push: true
41+
tags: ghcr.io/anentrypoint/agent-manager:latest
42+
cache-from: type=gha
43+
cache-to: type=gha,mode=max

0 commit comments

Comments
 (0)