summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-06-06 22:58:22 +0200
committerGitHub <noreply@github.com>2019-06-06 22:58:22 +0200
commitba36a5f4461abfa2a2818b756bda4d6e609f6de6 (patch)
tree1471c6b8e34c6927531eb0ceb667cfbc7b50b282
parentc5c73794b4bdb13746d0cceeb2ed62583b2c46a2 (diff)
parent32fb83e3ab7fd9f61143601a015dc8fa8af09de1 (diff)
downloadpodman-ba36a5f4461abfa2a2818b756bda4d6e609f6de6.tar.gz
podman-ba36a5f4461abfa2a2818b756bda4d6e609f6de6.tar.bz2
podman-ba36a5f4461abfa2a2818b756bda4d6e609f6de6.zip
Merge pull request #3268 from cevich/meta_track_repo
Cirrus: Track VM Image calling GCE project
-rwxr-xr-xcontrib/imgts/entrypoint.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/imgts/entrypoint.sh b/contrib/imgts/entrypoint.sh
index 65a76d8e4..610e1f3b6 100755
--- a/contrib/imgts/entrypoint.sh
+++ b/contrib/imgts/entrypoint.sh
@@ -32,6 +32,7 @@ ARGS="--update-labels=last-used=$(date +%s)"
# optional
[[ -z "$BUILDID" ]] || ARGS="$ARGS --update-labels=build-id=$BUILDID"
[[ -z "$REPOREF" ]] || ARGS="$ARGS --update-labels=repo-ref=$REPOREF"
+[[ -z "$GCPPROJECT" ]] || ARGS="$ARGS --update-labels=project=$GCPPROJECT"
gcloud config set account "$GCPNAME"
gcloud config set project "$GCPPROJECT"