Skip to content

Commit b42746c

Browse files
authored
Update run-tests.md
Fix typo when targeting the `test` stage. Introduced in #19390
1 parent 4758460 commit b42746c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/guides/java/run-tests.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ fail if the tests fail.
9595
Finally, you updated the deps stage to be based on the base stage and removed
9696
the instructions that are now in the base stage.
9797

98-
Run the following command to build a new image using the test stage as the target and view the test results. Include `--progress=plain` to view the build output, `--no-cache` to ensure the tests always run, and `--target-test` to target the test stage.
98+
Run the following command to build a new image using the test stage as the target and view the test results. Include `--progress=plain` to view the build output, `--no-cache` to ensure the tests always run, and `--target test` to target the test stage.
9999

100100
Now, build your image and run your tests. You'll run the `docker build` command and add the `--target test` flag so that you specifically run the test build stage.
101101

0 commit comments

Comments
 (0)