Skip to content

Commit

Permalink
mention the use of ON_TAG and BUILD_NUMBER
Browse files Browse the repository at this point in the history
  • Loading branch information
lemeurherveCB committed Mar 2, 2025
1 parent b5b803e commit f40518f
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ make every-build

#### Other `make` targets

`show` (and `show-windows`) gives us a detailed view of the images that could be built, with all tags, platforms, and Dockerfiles.
`show` (and `show-windows`) gives us a detailed view of the images that could be built, with tags, platforms, and Dockerfiles.

```bash
$ make show
Expand Down Expand Up @@ -170,6 +170,36 @@ $ make show
[...]
```
To view all tags, set `ON_TAG` (and eventually `BUILD_NUMBER`):
```bash
$ ON_TAG=true BUILD_NUMBER=3 make show
[...]
"target": {
"agent_alpine_jdk17": {
"context": ".",
"dockerfile": "alpine/Dockerfile",
"args": {
"ALPINE_TAG": "3.21.3",
"JAVA_VERSION": "17.0.14_7",
"VERSION": "3283.v92c105e0f819"
},
"tags": [
"docker.io/jenkins/agent:3283.v92c105e0f819-3-alpine-jdk17",
"docker.io/jenkins/agent:3283.v92c105e0f819-3-alpine3.21-jdk17",
"docker.io/jenkins/agent:3283.v92c105e0f819-3-alpine",
"docker.io/jenkins/agent:3283.v92c105e0f819-3-alpine3.21",
"docker.io/jenkins/agent:alpine",
"docker.io/jenkins/agent:alpine3.21",
"docker.io/jenkins/agent:latest-alpine",
"docker.io/jenkins/agent:latest-alpine3.21",
"docker.io/jenkins/agent:alpine-jdk17",
"docker.io/jenkins/agent:alpine3.21-jdk17",
"docker.io/jenkins/agent:latest-alpine-jdk17",
"docker.io/jenkins/agent:latest-alpine3.21-jdk17"
],
[...]
```
`bats` is a dependency target. It will update the [`bats` submodule](https://github.com/bats-core/bats-core) and run the tests.
```bash
Expand Down

0 comments on commit f40518f

Please sign in to comment.