Match docker 1.11 generated image IDs #3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I'm getting this error when trying to use the post processor:
docker buildoutput: sha256:7d57f6744acb75e0a5ad3939844d5970604b60940d016bb4a540a44eeafea8a7Looks like the "docker build" command has changed the message it shows after building the image. So I've tried with a new regexp. I used (?:sha256:)? to match image ids composed only of hexadecimal digits. It is only a safety measure... I haven't tested it with previous versions of docker.
This change works for me with docker 1.11.0:
==> docker: Running post-processor: docker-dockerfile
docker (docker-dockerfile): Base image ID: sha256:c3949b417727055a20c1ea7e143172b30f467ca80e051cebf9781bbf711c2c03
docker (docker-dockerfile): Image ID: sha256:7f539c23418e440ad64a78d564f8073f5a563843beaf1a36435fde27afca032a