From c4a4f3f554c4f867e2aa01bbbc45443b01694b8d Mon Sep 17 00:00:00 2001 From: Adil Hafeez Date: Tue, 14 Oct 2025 15:17:10 -0700 Subject: [PATCH 1/2] resume publishing to github container registry --- .github/workflows/ghrc-push-main.yml | 154 ++++++++++++------------ .github/workflows/ghrc-push-release.yml | 152 +++++++++++------------ 2 files changed, 153 insertions(+), 153 deletions(-) diff --git a/.github/workflows/ghrc-push-main.yml b/.github/workflows/ghrc-push-main.yml index bd7d2c0c..4d3f6bd8 100644 --- a/.github/workflows/ghrc-push-main.yml +++ b/.github/workflows/ghrc-push-main.yml @@ -1,88 +1,88 @@ -# name: Publish docker image to ghcr (latest) +name: Publish docker image to ghcr (latest) -# env: -# IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/archgw +env: + IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/archgw -# on: -# push: -# branches: [main] +on: + push: + branches: [main] -# jobs: -# build-arm64: -# runs-on: [linux-arm64] -# permissions: { contents: read, packages: write } -# steps: -# - uses: actions/checkout@v4 -# - uses: docker/login-action@v3 -# with: -# registry: ghcr.io -# username: ${{ github.actor }} -# password: ${{ secrets.GITHUB_TOKEN }} +jobs: + build-arm64: + runs-on: [linux-arm64] + permissions: { contents: read, packages: write } + steps: + - uses: actions/checkout@v4 + - uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} -# - id: meta -# uses: docker/metadata-action@v5 -# with: -# images: ${{ env.IMAGE_NAME }} -# tags: | -# type=raw,value=latest + - id: meta + uses: docker/metadata-action@v5 + with: + images: ${{ env.IMAGE_NAME }} + tags: | + type=raw,value=latest -# - name: Build and Push ARM64 Image -# uses: docker/build-push-action@v5 -# with: -# context: . -# file: ./arch/Dockerfile -# platforms: linux/arm64 -# push: true -# # produce ghcr.io//archgw:latest-arm64 -# tags: ${{ steps.meta.outputs.tags }}-arm64 + - name: Build and Push ARM64 Image + uses: docker/build-push-action@v5 + with: + context: . + file: ./arch/Dockerfile + platforms: linux/arm64 + push: true + # produce ghcr.io//archgw:latest-arm64 + tags: ${{ steps.meta.outputs.tags }}-arm64 -# build-amd64: -# runs-on: ubuntu-latest -# permissions: { contents: read, packages: write } -# steps: -# - uses: actions/checkout@v4 -# - uses: docker/login-action@v3 -# with: -# registry: ghcr.io -# username: ${{ github.actor }} -# password: ${{ secrets.GITHUB_TOKEN }} + build-amd64: + runs-on: ubuntu-latest + permissions: { contents: read, packages: write } + steps: + - uses: actions/checkout@v4 + - uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} -# - id: meta -# uses: docker/metadata-action@v5 -# with: -# images: ${{ env.IMAGE_NAME }} -# tags: | -# type=raw,value=latest + - id: meta + uses: docker/metadata-action@v5 + with: + images: ${{ env.IMAGE_NAME }} + tags: | + type=raw,value=latest -# - name: Build and Push AMD64 Image -# uses: docker/build-push-action@v5 -# with: -# context: . -# file: ./arch/Dockerfile -# platforms: linux/amd64 -# push: true -# tags: ${{ steps.meta.outputs.tags }}-amd64 + - name: Build and Push AMD64 Image + uses: docker/build-push-action@v5 + with: + context: . + file: ./arch/Dockerfile + platforms: linux/amd64 + push: true + tags: ${{ steps.meta.outputs.tags }}-amd64 -# create-manifest: -# runs-on: ubuntu-latest -# needs: [build-arm64, build-amd64] -# permissions: { contents: read, packages: write } -# steps: -# - uses: docker/login-action@v3 -# with: -# registry: ghcr.io -# username: ${{ github.actor }} -# password: ${{ secrets.GITHUB_TOKEN }} + create-manifest: + runs-on: ubuntu-latest + needs: [build-arm64, build-amd64] + permissions: { contents: read, packages: write } + steps: + - uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} -# - id: meta -# uses: docker/metadata-action@v5 -# with: -# images: ${{ env.IMAGE_NAME }} -# tags: | -# type=raw,value=latest + - id: meta + uses: docker/metadata-action@v5 + with: + images: ${{ env.IMAGE_NAME }} + tags: | + type=raw,value=latest -# - name: Create Multi-Arch Manifest -# run: | -# docker buildx imagetools create -t ${{ steps.meta.outputs.tags }} \ -# ${{ env.IMAGE_NAME }}:latest-arm64 \ -# ${{ env.IMAGE_NAME }}:latest-amd64 + - name: Create Multi-Arch Manifest + run: | + docker buildx imagetools create -t ${{ steps.meta.outputs.tags }} \ + ${{ env.IMAGE_NAME }}:latest-arm64 \ + ${{ env.IMAGE_NAME }}:latest-amd64 diff --git a/.github/workflows/ghrc-push-release.yml b/.github/workflows/ghrc-push-release.yml index 5a446519..35d5de92 100644 --- a/.github/workflows/ghrc-push-release.yml +++ b/.github/workflows/ghrc-push-release.yml @@ -1,87 +1,87 @@ -# name: release - publish docker image to ghcr (latest) +name: release - publish docker image to ghcr (latest) -# env: -# IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/archgw +env: + IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/archgw -# on: -# release: -# types: [published] +on: + release: + types: [published] -# jobs: -# build-arm64: -# runs-on: [linux-arm64] -# permissions: { contents: read, packages: write } -# steps: -# - uses: actions/checkout@v4 -# - uses: docker/login-action@v3 -# with: -# registry: ghcr.io -# username: ${{ github.actor }} -# password: ${{ secrets.GITHUB_TOKEN }} +jobs: + build-arm64: + runs-on: [linux-arm64] + permissions: { contents: read, packages: write } + steps: + - uses: actions/checkout@v4 + - uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} -# - id: meta -# uses: docker/metadata-action@v5 -# with: -# images: ${{ env.IMAGE_NAME }} -# tags: | -# type=raw,value={{tag}} + - id: meta + uses: docker/metadata-action@v5 + with: + images: ${{ env.IMAGE_NAME }} + tags: | + type=raw,value={{tag}} -# - name: Build and Push ARM64 Image -# uses: docker/build-push-action@v5 -# with: -# context: . -# file: ./arch/Dockerfile -# platforms: linux/arm64 -# push: true -# tags: ${{ steps.meta.outputs.tags }}-arm64 + - name: Build and Push ARM64 Image + uses: docker/build-push-action@v5 + with: + context: . + file: ./arch/Dockerfile + platforms: linux/arm64 + push: true + tags: ${{ steps.meta.outputs.tags }}-arm64 -# build-amd64: -# runs-on: ubuntu-latest -# permissions: { contents: read, packages: write } -# steps: -# - uses: actions/checkout@v4 -# - uses: docker/login-action@v3 -# with: -# registry: ghcr.io -# username: ${{ github.actor }} -# password: ${{ secrets.GITHUB_TOKEN }} + build-amd64: + runs-on: ubuntu-latest + permissions: { contents: read, packages: write } + steps: + - uses: actions/checkout@v4 + - uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} -# - id: meta -# uses: docker/metadata-action@v5 -# with: -# images: ${{ env.IMAGE_NAME }} -# tags: | -# type=raw,value={{tag}} + - id: meta + uses: docker/metadata-action@v5 + with: + images: ${{ env.IMAGE_NAME }} + tags: | + type=raw,value={{tag}} -# - name: Build and Push AMD64 Image -# uses: docker/build-push-action@v5 -# with: -# context: . -# file: ./arch/Dockerfile -# platforms: linux/amd64 -# push: true -# tags: ${{ steps.meta.outputs.tags }}-amd64 + - name: Build and Push AMD64 Image + uses: docker/build-push-action@v5 + with: + context: . + file: ./arch/Dockerfile + platforms: linux/amd64 + push: true + tags: ${{ steps.meta.outputs.tags }}-amd64 -# create-manifest: -# runs-on: ubuntu-latest -# needs: [build-arm64, build-amd64] -# permissions: { contents: read, packages: write } -# steps: -# - uses: docker/login-action@v3 -# with: -# registry: ghcr.io -# username: ${{ github.actor }} -# password: ${{ secrets.GITHUB_TOKEN }} + create-manifest: + runs-on: ubuntu-latest + needs: [build-arm64, build-amd64] + permissions: { contents: read, packages: write } + steps: + - uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} -# - id: meta -# uses: docker/metadata-action@v5 -# with: -# images: ${{ env.IMAGE_NAME }} -# tags: | -# type=raw,value={{tag}} + - id: meta + uses: docker/metadata-action@v5 + with: + images: ${{ env.IMAGE_NAME }} + tags: | + type=raw,value={{tag}} -# - name: Create Multi-Arch Manifest -# run: | -# docker buildx imagetools create -t ${{ steps.meta.outputs.tags }} \ -# ${{ steps.meta.outputs.tags }}-arm64 \ -# ${{ steps.meta.outputs.tags }}-amd64 + - name: Create Multi-Arch Manifest + run: | + docker buildx imagetools create -t ${{ steps.meta.outputs.tags }} \ + ${{ steps.meta.outputs.tags }}-arm64 \ + ${{ steps.meta.outputs.tags }}-amd64 From ba826b19619802ff59054c64b98e983ea1e6ffad Mon Sep 17 00:00:00 2001 From: Imad Saddik <79410781+ImadSaddik@users.noreply.github.com> Date: Tue, 21 Oct 2025 16:51:58 +0100 Subject: [PATCH 2/2] Fixed a few typos in README.md (#593) --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 2f3ff37b..39935eed 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@
- Arch Logo + Arch Logo
@@ -64,8 +64,8 @@ To get in touch with us, please join our [discord server](https://discord.gg/pGZ ## Demos * [Sample App: Weather Forecast Agent](demos/samples_python/weather_forecast/README.md) - A sample agentic weather forecasting app that highlights core function calling capabilities of Arch. -* [Sample App: Network Operator Agent](demos/samples_python/network_switch_operator_agent/README.md) - A simple network device switch operator agent that can retrive device statistics and reboot them. -* [User Case: Connecting to SaaS APIs](demos/use_cases/spotify_bearer_auth) - Connect 3rd party SaaS APIs to your agentic chat experience. +* [Sample App: Network Operator Agent](demos/samples_python/network_switch_operator_agent/README.md) - A simple network device switch operator agent that can retrieve device statistics and reboot them. +* [Use Case: Connecting to SaaS APIs](demos/use_cases/spotify_bearer_auth) - Connect 3rd party SaaS APIs to your agentic chat experience. ## Quickstart @@ -254,7 +254,7 @@ prompt_targets: type: str in_path: true endpoint: - name: frankfurther_api + name: frankfurter_api path: /v1/latest?base=USD&symbols={currency_symbol} system_prompt: | You are a helpful assistant. Show me the currency symbol you want to convert from USD. @@ -262,11 +262,11 @@ prompt_targets: - name: get_supported_currencies description: Get list of supported currencies for conversion endpoint: - name: frankfurther_api + name: frankfurter_api path: /v1/currencies endpoints: - frankfurther_api: + frankfurter_api: endpoint: api.frankfurter.dev:443 protocol: https ```