Skip to content

Feature/publishable resources#33

Merged
llambeau merged 3 commits intomasterfrom
feature/publishable-resources
Feb 2, 2026
Merged

Feature/publishable resources#33
llambeau merged 3 commits intomasterfrom
feature/publishable-resources

Conversation

@llambeau
Copy link
Contributor

@llambeau llambeau commented Feb 2, 2026

No description provided.

Design doc for replacing `emb images push` with generic `emb resources publish`.
Resources opt-in with `publish: true` and can configure registry/tag in
defaults.docker.publish or per-resource params.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@llambeau llambeau force-pushed the feature/publishable-resources branch 2 times, most recently from 4c1919a to f71deea Compare February 2, 2026 14:07
- Add `publish` boolean field to ResourceConfig for opt-in publishing
- Add `defaults.docker.publish` config with `registry` and `tag` options
- Add `publish()` method to DockerImageResourceBuilder
- Create PublishResourcesOperation to handle publishing
- Add `emb resources publish` command
- Add `--publishable` flag to `emb resources` list command
- Deprecate `emb images push` in favor of `emb resources publish`

Resources can now be configured as publishable with:
```yaml
components:
  api:
    resources:
      image:
        type: docker/image
        publish: true
        params:
          publish:
            registry: ghcr.io/myorg
```

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@llambeau llambeau force-pushed the feature/publishable-resources branch from f71deea to e4e9b23 Compare February 2, 2026 14:13
Use Docker's credential helper system (~/.docker/config.json) to resolve
authentication when pushing images. Supports credHelpers, credsStore, and
auths fallback. Environment variables (DOCKER_USERNAME/DOCKER_PASSWORD)
still take priority when set.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@llambeau llambeau merged commit 2f55912 into master Feb 2, 2026
4 checks passed
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