Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update GCP cloudrun template to use docker image repo digest identifier #695

Merged
merged 2 commits into from
Dec 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion container-gcp-csharp/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
{
new Gcp.CloudRun.Inputs.ServiceTemplateSpecContainerArgs
{
Image = image.ImageName,
Image = image.RepoDigest,
Resources = new Gcp.CloudRun.Inputs.ServiceTemplateSpecContainerResourcesArgs
{
Limits = {
Expand Down
2 changes: 1 addition & 1 deletion container-gcp-go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func main() {
Spec: cloudrun.ServiceTemplateSpecArgs{
Containers: cloudrun.ServiceTemplateSpecContainerArray{
cloudrun.ServiceTemplateSpecContainerArgs{
Image: image.ImageName,
Image: image.RepoDigest.Elem(),
Resources: cloudrun.ServiceTemplateSpecContainerResourcesArgs{
Limits: pulumi.ToStringMap(map[string]string{
"memory": memory,
Expand Down
2 changes: 1 addition & 1 deletion container-gcp-python/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
spec=cloudrun.ServiceTemplateSpecArgs(
containers=[
cloudrun.ServiceTemplateSpecContainerArgs(
image=image.image_name,
image=image.repo_digest,
resources=cloudrun.ServiceTemplateSpecContainerResourcesArgs(
limits=dict(
memory=memory,
Expand Down
2 changes: 1 addition & 1 deletion container-gcp-typescript/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const service = new gcp.cloudrun.Service("service", {
spec: {
containers: [
{
image: image.imageName,
image: image.repoDigest,
resources: {
limits: {
memory,
Expand Down
Loading