Skip to content
This repository was archived by the owner on Sep 29, 2020. It is now read-only.

Commit 5d8b708

Browse files
committed
when building a release in docker, only call rmi if the release happened properly
1 parent d7ab2e4 commit 5d8b708

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/release.bash

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ docker run --rm \
3333
--name ${BUILDER}_${BUILDNUMBER} \
3434
-u $(id -u):$(id -g) \
3535
--mount type=bind,source="${PWD}/release",target="/home/app/go/src/github.com/joyent/conch-shell/release" \
36-
${IMAGE_NAME};
37-
36+
${IMAGE_NAME} \
37+
&& \
3838
docker rmi ${IMAGE_NAME}

0 commit comments

Comments
 (0)