Skip to content

Commit

Permalink
Next attempt with multiple tags
Browse files Browse the repository at this point in the history
  • Loading branch information
skuzzle committed Dec 21, 2021
1 parent 0c62089 commit 02fc66f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<github.name>gh-prom-exporter</github.name>

<docker.registry.name>ghcr.io</docker.registry.name>
<spring-boot.build-image.imageName>${docker.registry.name}/${github.user}/${github.name}/${project.artifactId}</spring-boot.build-image.imageName>
<docker.image.name>${docker.registry.name}/${github.user}/${github.name}/${project.artifactId}</docker.image.name>

<spring-boot.version>2.6.1</spring-boot.version>
<spring-cloud.version>2021.0.0-RC1</spring-cloud.version>
Expand Down Expand Up @@ -209,8 +209,10 @@
<version>${spring-boot.version}</version>
<configuration>
<image>
<name>${docker.image.name}</name>
<tags>
<tag>${project.version}</tag>
<tag>${docker.image.name}:${project.version}</tag>
<tag>${docker.image.name}:latest</tag>
</tags>
</image>
<docker>
Expand Down
2 changes: 1 addition & 1 deletion readme/RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
* Apply correct tags to released image

```
docker pull ${spring-boot.build-image.imageName}:${project.version}
docker pull ${docker.image.name}:${project.version}
```

0 comments on commit 02fc66f

Please sign in to comment.