Skip to content

Commit

Permalink
Pin to Packer 1.0.x
Browse files Browse the repository at this point in the history
  • Loading branch information
lox committed Oct 20, 2017
1 parent dd8e45e commit 6c9e017
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ build-ami: config.json
docker run -e AWS_DEFAULT_REGION -e AWS_ACCESS_KEY_ID \
-e AWS_SECRET_ACCESS_KEY -e AWS_SESSION_TOKEN -e PACKER_LOG \
-v ${HOME}/.aws:/root/.aws \
--rm -v "$(PWD):/src" -w /src/packer hashicorp/packer:light \
--rm -v "$(PWD):/src" -w /src/packer hashicorp/packer:1.0.4 \
build buildkite-ami.json | tee packer.output
jq --arg ImageId $$(grep -Eo 'us-east-1: (ami-.+)' packer.output | cut -d' ' -f2) \
'[ .[] | select(.ParameterKey != "ImageId") ] + [{ParameterKey: "ImageId", ParameterValue: $$ImageId}]' \
Expand Down

0 comments on commit 6c9e017

Please sign in to comment.