postsubmits:
  kubernetes/k8s.io:
    - name: post-k8sio-infra-tools-push-images
      cluster: test-infra-trusted
      annotations:
        testgrid-dashboards: wg-k8s-infra-k8sio
      decorate: true
      run_if_changed: "^dns/octodns-docker/"
      branches:
        - ^master$
      spec:
        serviceAccountName: deployer # TODO(fejta): use pusher
        containers:
          - image: gcr.io/k8s-testimages/image-builder:v20200422-c760048
            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-infra-tools
              - --scratch-bucket=gs://k8s-staging-infra-tools-gcb
              - --env-passthrough=PULL_BASE_REF
              - dns/octodns-docker

postsubmits:
  kubernetes/k8s.io:
    - name: post-k8sio-infra-tools-push-images
      cluster: k8s-infra-prow-build-trusted
      annotations:
        testgrid-dashboards: wg-k8s-infra-k8sio
      decorate: true
      run_if_changed: "^dns/octodns-docker/"
      branches:
        - ^master$
      spec:
        serviceAccountName: gcb-builder
        containers:
          - image: gcr.io/k8s-testimages/image-builder:v20200422-c760048
            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-infra-tools
              - --scratch-bucket=gs://k8s-staging-infra-tools-gcb
              - --env-passthrough=PULL_BASE_REF
              - dns/octodns-docker

Use k8s-infra-prow-build-trusted for an image-pushing job
Use k8s-infra-prow-build-trusted for an image-pushing job
