Skip to content

cloud: scaffold multi-tenant build (Postgres adapter + register-cloud… #1

cloud: scaffold multi-tenant build (Postgres adapter + register-cloud…

cloud: scaffold multi-tenant build (Postgres adapter + register-cloud… #1

Workflow file for this run

name: cloud-build
on:
push:
branches: [cloud]
workflow_dispatch:
permissions:
contents: read
packages: write
jobs:
image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: meta
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/shep-ai/shep
tags: |
type=sha,prefix=cloud-,format=short
type=raw,value=cloud-latest
- uses: docker/build-push-action@v6
with:
context: .
file: Dockerfile.cloud
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha,scope=cloud
cache-to: type=gha,mode=max,scope=cloud