Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GCB config for fluentd-gcp build #107

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions fluentd-gcp-image/cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
timeout: 10800s

substitutions:
{ "_PREFIX": "gcr.io/k8s-image-staging",
"_TAG": "2.0.16" }

steps:
- name: gcr.io/cloud-builders/git
id: git-clone
entrypoint: bash
args:
- "-c"
- |
set -ex
mkdir -p /workspace/src/k8s.io
cd /workspace/src/k8s.io
git clone https://github.com/GoogleCloudPlatform/k8s-stackdriver

- name: gcr.io/cloud-builders/docker
id: docker-build
entrypoint: bash
dir: "/workspace/src/k8s.io/k8s-stackdriver/fluentd-gcp-image"
args:
- "-c"
- |
set -e
docker build -t ${_PREFIX}/fluentd-gcp:${_TAG} .

images:
- "${_PREFIX}/fluentd-gcp:${_TAG}"