concourse/tasks/get-github-token.yaml (15 lines of code) (raw):
---
platform: linux
image_resource:
type: registry-image
source:
repository: busybox
outputs:
- name: token
run:
path: sh
args:
- -ec
- |
echo '((github-token.token))' > token/token.txt
ls token/token.txt