Browse Source

Add multiple golang version

pull/5/head
Juto Yu 4 years ago
parent
commit
2729beed9f
  1. 1
      pipelines/multi-branch/template.yml
  2. 2
      tasks/go-test.yml

1
pipelines/multi-branch/template.yml

@ -18,6 +18,7 @@ jobs:
trigger: true
- get: examples
- task: unit
vars: ((golang))
file: examples/tasks/go-test.yml
input_mapping: {repo: branch}
params: {MODULE: apps/golang}

2
tasks/go-test.yml

@ -2,7 +2,7 @@ platform: linux
image_resource:
type: registry-image
source: { repository: golang }
source: { repository: golang:((golang))}
inputs:
- name: repo

Loading…
Cancel
Save