Skip to content

Commit

Permalink
Fix docker tag version to omit the leading 'v', in the build phase, c…
Browse files Browse the repository at this point in the history
…orrectly.
  • Loading branch information
ncabatoff committed Aug 26, 2018
1 parent 7a8eb6c commit 7c15dc1
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions cloudbuild.release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,8 @@ steps:

# Build project
- name: gcr.io/cloud-builders/docker
args:
- build
- --file=Dockerfile
- --tag=ncabatoff/process-exporter:`echo $TAG_NAME|sed s/^v//`
- .
entrypoint: 'bash'
args: ['-c', 'docker build -t ncabatoff/process-exporter:`echo $TAG_NAME|sed s/^v//` .']

# Login to docker hub
- name: gcr.io/cloud-builders/docker
Expand Down

0 comments on commit 7c15dc1

Please sign in to comment.