Skip to content

Commit

Permalink
Update run-tests.md
Browse files Browse the repository at this point in the history
Fix typo when targeting the `test` stage.
Introduced in #19390
  • Loading branch information
klimeryk authored Jan 14, 2025
1 parent 4758460 commit b42746c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/guides/java/run-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ fail if the tests fail.
Finally, you updated the deps stage to be based on the base stage and removed
the instructions that are now in the base stage.

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.
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.

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.

Expand Down

0 comments on commit b42746c

Please sign in to comment.