Skip to content
This repository has been archived by the owner on Mar 17, 2020. It is now read-only.

Commit

Permalink
{{ trunc 7 .CICD_COMMIT_SHA }}
Browse files Browse the repository at this point in the history
  • Loading branch information
bonifaido committed Mar 12, 2019
1 parent 6d130b4 commit 34ed23c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .banzaicloud/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pipeline:
image: banzaicloud/kaniko-plugin
dockerfile: Dockerfile
repo: '{{ .CICD_REPO }}'
tags: '{{ .CICD_COMMIT_BRANCH }}'
tags: '{{ trunc 7 .CICD_COMMIT_SHA }}'
secretFrom:
DOCKER_USERNAME:
keyRef: username
Expand Down Expand Up @@ -68,7 +68,7 @@ pipeline:
values:
image:
repository: '{{ .CICD_REPO }}'
tag: '{{ .CICD_COMMIT_BRANCH }}'
tag: '{{ trunc 7 .CICD_COMMIT_SHA }}'
pullPolicy: Always
ingress:
enabled: true
Expand Down

0 comments on commit 34ed23c

Please sign in to comment.