Skip to content

DRU-649 -- Send chat messages to the agent as ACP blocks, images incl… #562

DRU-649 -- Send chat messages to the agent as ACP blocks, images incl…

DRU-649 -- Send chat messages to the agent as ACP blocks, images incl… #562

name: Build Release Images
on:
workflow_dispatch:
push:
branches: [main]
tags: ["v*"]
paths:
- ".dockerignore"
- "Dockerfile"
- ".github/workflows/build-release-images.yml"
- "LICENSE"
- "README.md"
- "backend/**"
- "frontend/**"
- "pyproject.toml"
- "uv.lock"
concurrency:
group: build-release-images-${{ github.ref_name }}
cancel-in-progress: true
permissions: {}
jobs:
backend:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: docker/setup-qemu-action@99012661954931238ded8c8b007157a8430204e1 # v4.4.0
- uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1
- uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- id: metadata
uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6.2.0
with:
images: ghcr.io/${{ github.repository }}
tags: |
type=raw,value=latest,enable={{is_default_branch}}
type=sha,prefix=sha-,format=long
type=ref,event=tag
- uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }}
cache-from: type=gha,scope=backend
cache-to: type=gha,scope=backend,mode=max