mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2026-04-18 22:41:01 +02:00
* fix(ci): fix revision label Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com> * fix(ci): set OCI revision label and binary git commit in Cloud Build Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com> --------- Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
22 lines
642 B
YAML
22 lines
642 B
YAML
# See https://cloud.google.com/cloud-build/docs/build-config
|
|
timeout: 5000s
|
|
options:
|
|
substitution_option: ALLOW_LOOSE
|
|
# Temporary bump, while working on job improvements.
|
|
machineType: 'N1_HIGHCPU_32'
|
|
steps:
|
|
- name: 'docker.io/library/golang:1.26-bookworm'
|
|
entrypoint: make
|
|
env:
|
|
- VERSION=$_GIT_TAG
|
|
- GIT_REVISION=$_PULL_BASE_SHA
|
|
- PULL_BASE_REF=$_PULL_BASE_REF
|
|
args:
|
|
- release.staging
|
|
substitutions:
|
|
# _GIT_TAG will be filled with a git-based tag for the image, of the form vYYYYMMDD-hash, and
|
|
# can be used as a substitution
|
|
_GIT_TAG: "12345"
|
|
_PULL_BASE_SHA: ""
|
|
_PULL_BASE_REF: 'master'
|