diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index b5b30924..00000000 --- a/Dockerfile +++ /dev/null @@ -1,3 +0,0 @@ -FROM alpine -COPY helloworld.sh / -CMD ["/helloworld.sh"] diff --git a/cloudbuild.yaml b/cloudbuild.yaml new file mode 100644 index 00000000..e0ff1a7f --- /dev/null +++ b/cloudbuild.yaml @@ -0,0 +1,7 @@ +# In this directory, run the following command to build this builder. +# $ gcloud builds submit . --config=cloudbuild.yaml + +steps: +# Build the alpine and debian versions. +- name: 'gcr.io/cloud-builders/git' + args: ['log'] diff --git a/helloworld.sh b/helloworld.sh index 79a32fd6..0b5096e7 100644 --- a/helloworld.sh +++ b/helloworld.sh @@ -1,2 +1,3 @@ #!/bin/sh echo "Hello, world!" +echo "The time is $(date)."