@crossdelta/platform-sdk 0.4.1 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -364,17 +364,14 @@ const main = async () => {
364
364
  const result = {}
365
365
  const missing = []
366
366
 
367
+ // Get registry URL from environment (e.g., "ghcr.io/orderboss/platform")
368
+ const registry = process.env.REGISTRY || `ghcr.io/${repositoryOwner}/${repositoryPrefix}`
369
+
367
370
  for (const scope of scopes) {
368
371
  const metadataTag = metadataByScope.get(scope.shortName)
369
- if (metadataTag) {
370
- result[scope.shortName] = metadataTag
371
- continue
372
- }
373
-
374
- const packageName = `${repositoryPrefix}/${scope.shortName}`
375
- const fallbackTag = await fetchLatestChecksumTag(packageName)
372
+ const imageTag = metadataTag || (await fetchLatestChecksumTag(`${repositoryPrefix}/${scope.shortName}`))
376
373
 
377
- if (!fallbackTag) {
374
+ if (!imageTag) {
378
375
  if (allowMissingScopes.has(scope.shortName)) {
379
376
  console.warn(`Skipping unresolved scope ${scope.shortName} (allowed missing)`)
380
377
  continue
@@ -383,7 +380,8 @@ const main = async () => {
383
380
  continue
384
381
  }
385
382
 
386
- result[scope.shortName] = fallbackTag
383
+ // Build full image URL: registry/service:tag
384
+ result[scope.shortName] = `${registry}/${scope.shortName}:${imageTag}`
387
385
  }
388
386
 
389
387
  if (missing.length > 0) {
@@ -233,4 +233,5 @@ jobs:
233
233
  work-dir: infra
234
234
  env:
235
235
  PULUMI_ACCESS_TOKEN: $\{{ secrets.PULUMI_ACCESS_TOKEN }}
236
+ DIGITALOCEAN_TOKEN: $\{{ secrets.DIGITALOCEAN_API_TOKEN }}
236
237
  SCOPE_IMAGE_TAGS: $\{{ steps.resolve_scope_tags.outputs.scope_image_tags }}
@@ -2,7 +2,7 @@
2
2
 
3
3
  > 🚀 **Event-driven communication** powered by NATS + JetStream
4
4
 
5
- Message broker for CloudEvents-based microservices communication using [`@crossdelta/cloudevents`](https://github.com/orderboss/platform/tree/main/packages/cloudevents).
5
+ Message broker for CloudEvents-based microservices communication using [`@crossdelta/cloudevents`](https://github.com/crossdelta/platform/tree/main/packages/cloudevents).
6
6
 
7
7
  ## ⚡ Quick Start
8
8
 
@@ -103,5 +103,5 @@ docker rm -f my-nats
103
103
 
104
104
  - [NATS Documentation](https://docs.nats.io/)
105
105
  - [JetStream Guide](https://docs.nats.io/nats-concepts/jetstream)
106
- - [`@crossdelta/cloudevents` Package](https://github.com/orderboss/platform/tree/main/packages/cloudevents)
106
+ - [`@crossdelta/cloudevents` Package](https://github.com/crossdelta/platform/tree/main/packages/cloudevents)
107
107
  - [CloudEvents Specification](https://cloudevents.io/)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crossdelta/platform-sdk",
3
- "version": "0.4.1",
3
+ "version": "0.4.3",
4
4
  "description": "CLI toolkit for scaffolding Turborepo workspaces with Pulumi infrastructure and Hono/NestJS microservices",
5
5
  "keywords": [
6
6
  "cli",