https://pulumi.com logo
#python
Title
# python
m

many-pencil-56466

06/03/2020, 11:11 PM
Copy code
def Image(app="pasteit",location="asia-northeast1", project="leadmrktr"):
    img = gcp.cloudbuild.Trigger(
        "pasteit-http",
        build={
            "step": [{"name":"pasteit","dir": ".."}]

        },
        project=project,
        trigger_template={
            "dir": "..",
            "tag_name":  "<http://gcr.io/{}/{}|gcr.io/{}/{}>".format(project,app)
        })
    return img
my code ..