k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/jobs/image-pushing/k8s-staging-csi-secrets-store.yaml (about)

     1  postsubmits:
     2    # This is the github repo we'll build from. This block needs to be repeated
     3    # for each repo.
     4    kubernetes-sigs/secrets-store-csi-driver:
     5      # The name should be changed to match the repo name above
     6      - name: secrets-store-csi-driver-push-image
     7        cluster: k8s-infra-prow-build-trusted
     8        annotations:
     9          # This is the name of some testgrid dashboard to report to.
    10          # If this is the first one for your sig, you may need to create one
    11          testgrid-dashboards: sig-auth-secrets-store-csi-driver, sig-k8s-infra-gcb
    12        decorate: true
    13        # we only need to run if necessary (e.g.: the version was bumped)
    14        run_if_changed: 'docker/Makefile'
    15        # this causes the job to only run on the master branch. Remove it if your
    16        # job makes sense on every branch (unless it's setting a `latest` tag it
    17        # probably does).
    18        branches:
    19          - ^release-.*
    20        spec:
    21          serviceAccountName: gcb-builder
    22          containers:
    23            - image: gcr.io/k8s-staging-test-infra/image-builder:v20230711-e33377c2b4
    24              command:
    25                - /run.sh
    26              args:
    27                # this is the project GCB will run in, which is the same as the GCR
    28                # images are pushed to.
    29                - --project=k8s-staging-csi-secrets-store
    30                # This is the same as above, but with -gcb appended.
    31                - --scratch-bucket=gs://k8s-staging-csi-secrets-store-gcb
    32                - --env-passthrough=PULL_BASE_REF
    33                - --build-dir=.
    34                - docker