Skip to content

Commit

Permalink
Bugfix to DockerWrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
bbimber committed Jan 9, 2025
1 parent 81882a7 commit adc2889
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public void executeWithDocker(List<String> containerArgs, File workDir, Pipeline

writer.println("IMAGE_EXISTS=`$DOCKER images -q \"" + getEffectiveContainerName() + "\" | wc -l`");
writer.println("LOCAL=not_present");
writer.println("if [ $IMAGE_EXISTS > 0 ];then");
writer.println("if [[ $IMAGE_EXISTS > 0 ]];then");
writer.println("\tLOCAL=`docker inspect --format='{{.Digest}}' " + getEffectiveContainerName() + "`");
writer.println("fi");
writer.println("LATEST=`regctl image digest --list " + getEffectiveContainerName() + "`");
Expand Down

0 comments on commit adc2889

Please sign in to comment.