postsubmits:
  # This is the github repo we'll build from. This block needs to be repeated
  # for each repo.
  kubernetes-sigs/kustomize:
    # The name should be changed to match the repo name above
    - name: post-kustomize-push-images
      cluster: k8s-infra-prow-build-trusted
      annotations:
        # This is the name of some testgrid dashboard to report to.
        # If this is the first one for your sig, you may need to create one
        testgrid-dashboards: sig-cli-misc
        testgrid-tab-name: kustomize-pushing-image
        testgrid-alert-email: donnyxia@google.com
      decorate: true
      # this causes the job to only run on the master branch. Remove it if your
      # job makes sense on every branch (unless it's setting a `latest` tag it
      # probably does).
      branches:
        - ^master$
      spe:
        serviceAccountName: gcb-builder
        containers:
          - image: gcr.io/k8s-testimages/image-builder:v20200901-ab141a0
            command:
              - /run.sh
            args:
              # this is the project GCB will run in, which is the same as the GCR
              # images are pushed to.
              - --project=k8s-staging-kustomize
              # This is the same as above, but with -gcb appended.
              - --scratch-bucket=gs://k8s-staging-kustomize-gcb
              - --env-passthrough=PULL_BASE_REF
              - --with-git-dir
              - --gcb-config=releasing/cloudbuild_kustomize_image.yaml
              - .

Add image pushing job for kustomize
Add image pushing job for kustomize
