sigs.k8s.io/seccomp-operator@v0.1.0/cloudbuild.yaml (about) 1 --- 2 # See https://cloud.google.com/cloud-build/docs/build-config 3 timeout: 1200s 4 options: 5 substitution_option: ALLOW_LOOSE 6 steps: 7 - name: gcr.io/cloud-builders/docker 8 args: 9 - build 10 - --tag=gcr.io/$PROJECT_ID/seccomp-operator:$_GIT_TAG 11 - --tag=gcr.io/$PROJECT_ID/seccomp-operator:latest 12 - . 13 substitutions: 14 # _GIT_TAG will be filled with a git-based tag for the image, of the form 15 # vYYYYMMDD-hash, and can be used as a substitution 16 _GIT_TAG: '12345' 17 images: 18 - 'gcr.io/$PROJECT_ID/seccomp-operator:$_GIT_TAG' 19 - 'gcr.io/$PROJECT_ID/seccomp-operator:latest'