postsubmits:
  # this is the github repo we'll build from; this block needs to be repeated for each repo.
  kubernetes/dns:
    - name: dns-push-images
      cluster: k8s-infra-prow-build-trusted
      annotations:
        # this is the name of some testgrid dashboard to report to.
        testgrid-dashboards: sig-network-dns
      decorate: true
      branches:
        - ^master$
      spec:
        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-dns
              - --scratch-bucket=gs://k8s-staging-dns-gcb
              - --env-passthrough=PULL_BASE_REF
              - .

postsubmits:
  # this is the github repo we'll build from; this block needs to be repeated for each repo.
  kubernetes/dns:
    - name: dns-push-images
      cluster: k8s-infra-prow-build-trusted
      annotations:
        # this is the name of some testgrid dashboard to report to.
        testgrid-dashboards: sig-network-dns
      decorate: true
      # match on regex '^\d+\.\d+\.\d+$' to trigger job on new tags
      branches:
        - ^master$
        - ^\d+\.\d+\.\d+$
      spec:
        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-dns
              - --scratch-bucket=gs://k8s-staging-dns-gcb
              - --env-passthrough=PULL_BASE_REF
              - .

Update DNS image push yaml to trigger on new tags
Update DNS image push yaml to trigger on new tags