Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
Cluster: pushing image to non default region
Browse files Browse the repository at this point in the history
  • Loading branch information
fwang committed Oct 15, 2024
1 parent 96eccab commit 88572b0
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions platform/src/components/aws/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
secret,
} from "@pulumi/pulumi";
import { Image, Platform } from "@pulumi/docker-build";
import { $print, Component, transform } from "../component.js";
import { Component, transform } from "../component.js";
import { toGBs, toMBs } from "../size.js";
import { toNumber } from "../cpu.js";
import { dns as awsDns } from "./dns.js";
Expand Down Expand Up @@ -688,9 +688,12 @@ export class Service extends Component implements Link.Linkable {
],
registries: [
ecr
.getAuthorizationTokenOutput({
registryId: bootstrapData.assetEcrRegistryId,
})
.getAuthorizationTokenOutput(
{
registryId: bootstrapData.assetEcrRegistryId,
},
{ parent: self },
)
.apply((authToken) => ({
address: authToken.proxyEndpoint,
password: secret(authToken.password),
Expand Down

0 comments on commit 88572b0

Please sign in to comment.