Skip to content

Commit

Permalink
make imageID prefix optional as podman changed output format
Browse files Browse the repository at this point in the history
  • Loading branch information
pkubatrh committed Aug 6, 2019
1 parent 3144157 commit ea8636e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function docker_build_with_version {
fi

parse_output 'docker build '"$BUILD_OPTIONS"' -f "$dockerfile" "${DOCKER_BUILD_CONTEXT}"' \
"tail -n 1 | awk '/Successfully built|^--> (Using cache )?[a-fA-F0-9]+$/{print \$NF}'" \
"tail -n 1 | awk '/Successfully built|(^--> )?(Using cache )?[a-fA-F0-9]+$/{print \$NF}'" \
IMAGE_ID
clean_image
echo "$IMAGE_ID" > .image-id.raw
Expand Down

0 comments on commit ea8636e

Please sign in to comment.