diff --git a/pipelines/multi-branch/template.yml b/pipelines/multi-branch/template.yml index fe245cb..38cf36d 100644 --- a/pipelines/multi-branch/template.yml +++ b/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} diff --git a/tasks/go-test.yml b/tasks/go-test.yml index 2f8b24d..a928e2c 100644 --- a/tasks/go-test.yml +++ b/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