minor fixes
This commit is contained in:
parent
f1a98f3e9a
commit
96314b8a7c
2 changed files with 3 additions and 2 deletions
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
# https://github.com/concourse/git-resource/blob/6fcfbd4/assets/out#L4-L16
|
# https://github.com/concourse/git-resource/blob/6fcfbd4/assets/out#L4-L16
|
||||||
set -e
|
set -e
|
||||||
|
set -x
|
||||||
|
|
||||||
exec 3>&1 # make stdout available as fd 3 for the result
|
exec 3>&1 # make stdout available as fd 3 for the result
|
||||||
exec 1>&2 # redirect all output to stderr for logging
|
exec 1>&2 # redirect all output to stderr for logging
|
||||||
|
@ -36,5 +37,5 @@ echo "...done."
|
||||||
# https://github.com/concourse/git-resource/blob/6fcfbd4/assets/out#L133-L136
|
# https://github.com/concourse/git-resource/blob/6fcfbd4/assets/out#L133-L136
|
||||||
jq -n "{
|
jq -n "{
|
||||||
version: {
|
version: {
|
||||||
timestamp: $(date +%s)}
|
timestamp: \"$(date +%s)\"}
|
||||||
}" >&3
|
}" >&3
|
||||||
|
|
|
@ -9,7 +9,7 @@ if [ -z "$source" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
json=$(cat .env.json)
|
json=$(cat config.json)
|
||||||
|
|
||||||
docker build -t 18fgsa/s3-resource-simple .
|
docker build -t 18fgsa/s3-resource-simple .
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue