Skip to content

Instantly share code, notes, and snippets.

@mikroskeem
Created November 24, 2019 12:55
Show Gist options
  • Save mikroskeem/a0f006a3e83939d4d58d5b98d4f70e1b to your computer and use it in GitHub Desktop.
Save mikroskeem/a0f006a3e83939d4d58d5b98d4f70e1b to your computer and use it in GitHub Desktop.
Run a multiline shell script inside Concourse CI
---
jobs:
- name: run-script
public: true
plan:
- task: execute-shell
config:
platform: linux
image_resource:
type: docker-image
source:
repository: busybox
tag: latest
run:
path: /bin/ash
args:
- "-e"
- "-c"
- |
echo "hello world! current date is: $(date '+%Y-%m-%d %H:%M:S')"
uname -a
id -u
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment