mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
55 lines
1.5 KiB
YAML
55 lines
1.5 KiB
YAML
name: Live Media Runner Image
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches: [main]
|
|
paths:
|
|
- ".github/images/live-media-runner/Dockerfile"
|
|
- ".github/workflows/live-media-runner-image.yml"
|
|
|
|
permissions:
|
|
contents: read
|
|
packages: write
|
|
|
|
concurrency:
|
|
group: live-media-runner-image-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
env:
|
|
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
|
|
|
|
jobs:
|
|
build:
|
|
name: Build live media runner image
|
|
runs-on: blacksmith-8vcpu-ubuntu-2404
|
|
timeout-minutes: 30
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Login to GHCR
|
|
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
|
|
with:
|
|
registry: ghcr.io
|
|
username: ${{ github.actor }}
|
|
password: ${{ github.token }}
|
|
|
|
- name: Set up Blacksmith Docker Builder
|
|
uses: useblacksmith/setup-docker-builder@ac083cc84672d01c60d5e8561d0a939b697de542 # v1
|
|
with:
|
|
max-cache-size-mb: 800000
|
|
|
|
- name: Build and push live media runner image
|
|
uses: useblacksmith/build-push-action@cbd1f60d194a98cb3be5523b15134501eaf0fbf3 # v2
|
|
with:
|
|
context: .github/images/live-media-runner
|
|
file: .github/images/live-media-runner/Dockerfile
|
|
platforms: linux/amd64
|
|
tags: |
|
|
ghcr.io/openclaw/openclaw-live-media-runner:ubuntu-24.04
|
|
ghcr.io/openclaw/openclaw-live-media-runner:${{ github.sha }}
|
|
sbom: true
|
|
provenance: mode=max
|
|
push: true
|