concourse/tasks/gotest.yaml (18 lines of code) (raw):
---
platform: linux
image_resource:
type: registry-image-private
source:
repository: gcr.io/gcp-guest/gotest
tag: latest
google_auth: true
inputs:
- name: repo
outputs:
- name: gotest
params:
# The job will cd into repo dir, so this is relative
ARTIFACTS: ../gotest/
run:
path: /go/main.sh
args:
- repo