Skip to content

Commit b0aa48d

Browse files
rickstaaclaude
andcommitted
ci: rename published images to runner-example-<name>
The image published by images.yml goes from <namespace>/sample-<name> to <namespace>/runner-example-<name>. These are example runners; production runners will publish as runner-<name>, so "example" is the only marker separating a sample from a real runner. Also updates the workflow name, header, and OCI labels to match. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CjPDUcYXLR6K2ft4g7TYbt
1 parent e2d9745 commit b0aa48d

1 file changed

Lines changed: 12 additions & 11 deletions

File tree

.github/workflows/images.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
name: Build example images
1+
name: Build example runner images
22

3-
# Build each example in the matrix; publish to Docker Hub as
4-
# livepeer/sample-<example> on main / v* tags / manual dispatch. PRs build only —
5-
# use workflow_dispatch to pull-test a branch.
6-
# amd64 only: Livepeer GPU work needs NVIDIA on amd64; no CUDA on arm64/Mac.
7-
# Add an example: add its folder (with a Dockerfile) to the matrix + paths below.
3+
# This repo ships EXAMPLE runners: images publish as <namespace>/runner-example-<name>.
4+
# Production runners drop "example" (runner-<name>).
5+
#
6+
# Runs on main / v* tags / manual dispatch; PRs build only (workflow_dispatch to
7+
# pull-test a branch). amd64 only (Livepeer GPU work is NVIDIA/amd64; no CUDA on
8+
# arm64/Mac). Add an example: add its folder (with a Dockerfile) to the matrix +
9+
# paths below.
810
on:
911
push:
1012
branches: [main]
@@ -40,9 +42,8 @@ jobs:
4042
id: meta
4143
uses: docker/metadata-action@v5
4244
with:
43-
# Defaults to the livepeer org; set repo variable DOCKERHUB_NAMESPACE to
44-
# publish under your own account (e.g. to test with your own Docker Hub).
45-
images: ${{ vars.DOCKERHUB_NAMESPACE || 'livepeer' }}/sample-${{ matrix.example }}
45+
# Namespace defaults to livepeer; override via repo variable DOCKERHUB_NAMESPACE.
46+
images: ${{ vars.DOCKERHUB_NAMESPACE || 'livepeer' }}/runner-example-${{ matrix.example }}
4647
tags: |
4748
type=raw,value=latest,enable={{is_default_branch}}
4849
type=sha,format=short
@@ -51,8 +52,8 @@ jobs:
5152
type=semver,pattern={{major}}.{{minor}}
5253
type=raw,value=stable,enable=${{ startsWith(github.ref, 'refs/tags/v') }}
5354
labels: |
54-
org.opencontainers.image.title=sample-${{ matrix.example }}
55-
org.opencontainers.image.description=Livepeer sample app (${{ matrix.example }}) — example, not production-ready
55+
org.opencontainers.image.title=runner-example-${{ matrix.example }}
56+
org.opencontainers.image.description=Livepeer live-runner example (${{ matrix.example }}) — example, not production-ready
5657
5758
- name: Set up Buildx
5859
uses: docker/setup-buildx-action@v3

0 commit comments

Comments
 (0)