Skip to content

Commit

Permalink
upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
rgl committed May 17, 2024
1 parent 77b3213 commit fd3064d
Show file tree
Hide file tree
Showing 5 changed files with 2,006 additions and 1,044 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ Delete the example image resource:
# list the stack, and grab the urn of the example Command, and use
# it in the pulumi destroy command.
pulumi stack --show-urns
pulumi destroy --target 'urn:pulumi:dev::pulumi-typescript-aws-native-ecr-example::aws-native:ecr:Repository$command:local:Command::pulumi-typescript-aws-native-ecr-example/example:v1.10.0'
pulumi destroy --target 'urn:pulumi:dev::pulumi-typescript-aws-native-ecr-example::aws-native:ecr:Repository$command:local:Command::pulumi-typescript-aws-native-ecr-example/example:v1.11.0'
```
At the ECR AWS Management Console, verify that the example image no longer
Expand Down
2 changes: 1 addition & 1 deletion images.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
import * as command from "@pulumi/command";
import * as aws from "@pulumi/aws-native";

function getMergedDefaultTagsArg(defaultTags: Record<string, string>, tags?: Record<string, string>): aws.types.input.ecr.RepositoryTagArgs[] {
function getMergedDefaultTagsArg(defaultTags: Record<string, string>, tags?: Record<string, string>): aws.types.input.TagArgs[] {
return Object.entries(Object.assign(tags ?? {}, defaultTags)).map(([key, value]) => {
return {
key,
Expand Down
7 changes: 5 additions & 2 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@ const defaultTags = {
// object value: source image uri.
// object key: target repository name suffix (project used as name suffix).
const sourceImages = {
"example": "docker.io/ruilopes/example-docker-buildx-go:v1.10.0",
"hello-etcd": "ghcr.io/rgl/hello-etcd:0.0.1",
// see https://github.com/rgl/example-docker-buildx-go
"example": "docker.io/ruilopes/example-docker-buildx-go:v1.11.0",

// see https://github.com/rgl/hello-etcd
"hello-etcd": "ghcr.io/rgl/hello-etcd:0.0.2",
}

export const images = createImages(region, project, sourceImages, defaultTags);
Expand Down
Loading

0 comments on commit fd3064d

Please sign in to comment.