---
platform: linux

image_resource:
  type: docker-image
  source:
    repository: bosh/agent
    tag: latest

inputs:
- name: bosh-agent
  path: gopath/src/github.com/cloudfoundry/bosh-agent
- name: version-semver

outputs:
- name: compiled-linux-amd64-go-latest

params:
  GOARCH: amd64
  GOOS:   linux

run:
  path: gopath/src/github.com/cloudfoundry/bosh-agent/ci/tasks/build.sh

Add task file to compile agent with latest golang
Add task file to compile agent with latest golang

[#159861609](https://www.pivotaltracker.com/story/show/159861609)

Co-authored-by: Difan Zhao <d4b657a67385123ddb690ebdb0d79b9c6cd38927@pivotal.io>
