Updated concourse template

This commit is contained in:
Geoff Franks 2017-07-12 10:57:41 -04:00
parent 5ce5bac65e
commit 221e8a084b
1 changed files with 11 additions and 3 deletions

View File

@ -17,7 +17,7 @@ meta:
target: (( param "Please identify the name of the target Concourse CI" ))
pipeline: (( grab meta.name ))
image: (( concat "docker:///starkandwayne/concourse-go#" meta.go.version ))
image: starkandwayne/concourse-go
go:
version: 1.7
@ -72,7 +72,11 @@ jobs:
- task: test
config:
platform: linux
rootfs_uri: (( grab meta.image ))
image_resource:
type: docker-image
source:
repository: (( grab meta.image ))
tag: (( grab meta.go.version ))
inputs:
- name: git
path: (( concat "gopath/src/" meta.go.module ))
@ -160,7 +164,11 @@ jobs:
- name: release
task: release
config:
rootfs_uri: (( grab meta.image ))
image_resource:
type: docker-image
source:
repository: (( grab meta.image ))
tag: (( grab meta.go.version ))
platform: linux
inputs:
- name: version