Skip to content

add workflow to mirror cog-base images from r8.im to GHCR#2871

Merged
markphelps merged 1 commit intomainfrom
mirror-cog-base-workflow
Mar 26, 2026
Merged

add workflow to mirror cog-base images from r8.im to GHCR#2871
markphelps merged 1 commit intomainfrom
mirror-cog-base-workflow

Conversation

@markphelps
Copy link
Copy Markdown
Contributor

Summary

Add a workflow_dispatch workflow to mirror cog-base images from r8.im to ghcr.io/replicate/cog/cog-base.

This is part 1 of 2 — a follow-up PR (#2866) will update CI and integration tests to resolve cog-base images from GHCR instead of r8.im.

Files

File Description
.github/workflows/mirror-cog-base-images.yaml Manually-triggered workflow that copies images from r8.im to GHCR using crane and GITHUB_TOKEN
integration-tests/cog-base-tags.txt List of cog-base tags to mirror (4 CPU + 6 GPU)

Usage

After merging, run the workflow from Actions → Mirror cog-base images → Run workflow to populate GHCR.

Why

Integration tests call cog build which resolves cog-base images from r8.im. When r8.im is unreachable, tests fail. By mirroring to GHCR, CI can resolve base images from a reliable source.

Add a workflow_dispatch workflow that copies cog-base images from r8.im
to ghcr.io/replicate/cog/cog-base using crane. Uses GITHUB_TOKEN for
GHCR authentication.

The list of tags to mirror is in integration-tests/cog-base-tags.txt
(4 CPU + 6 GPU base images used by integration tests).

Run this workflow from Actions > Mirror cog-base images > Run workflow
when new cog-base images are published or new tags are added.
@markphelps markphelps requested a review from a team as a code owner March 26, 2026 18:45
@markphelps markphelps requested a review from michaeldwan March 26, 2026 18:52
@markphelps markphelps merged commit 14ac9c0 into main Mar 26, 2026
38 checks passed
@markphelps markphelps deleted the mirror-cog-base-workflow branch March 26, 2026 19:52
markphelps added a commit that referenced this pull request Mar 30, 2026
….com/replicate/cog into mp/fix/dict-list-output-schema-fixes

* 'mp/fix/dict-list-output-schema-fixes' of https://github.com/replicate/cog: (44 commits)
  bonk code reviews (#2892)
  fix: clarify env variable deny-list error message (#2813)
  fix: use atomic rename in setup_subprocess_double_fork test to prevent race condition (#2815)
  chore(deps): bump github.com/docker/cli (#2885)
  chore(deps): bump ureq from 3.2.0 to 3.3.0 in /crates (#2888)
  docs: fix HTTP discovery endpoint response to match Rust implementation (#2883)
  fix: support PEP 604 unions in File/Path coercion detection (#2878)
  fix: remove mise python venv config to silence warnings (#2879)
  refactor: extract homebrew tap into standalone reusable workflow (#2881)
  chore: 0.17.1 (#2877)
  review: replace string tags with FieldKind enum, add Debug derives, remove redundant test assertion (#2874)
  fix: app id in release workflow for homebrew tap (#2875)
  fix: don't coerce URL strings in str-typed inputs (regression #2868) (#2872)
  use GHCR mirror for cog-base images in integration tests (#2866)
  docs: improve documentation for input/output types (#2864)
  add workflow to mirror cog-base images from r8.im to GHCR (#2871)
  fix: bound fuzz tree size to prevent CI timeout in FuzzJSONSchema
  fix: guard against slice panic on single-char quoted strings in parseTypeFromString
  fix: address review issues in static schema generation
  Bump version to 0.17.0
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant