Skip to content

Commit 3ffb20c

Browse files
authored
Merge pull request #48 from 398ja/codex/document-docker-image-publishing-process
build: tag Docker images with latest
2 parents 25d211e + c68eeda commit 3ffb20c

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,16 @@ Artifacts are published to a Reposilite server. Add the repository to your Maven
2727
- A valid Lightning address (for test runs)
2828

2929
## Docker
30-
Build and publish the `phoenixd-rest` container image with the Jib Maven plugin:
30+
Build and publish the `phoenixd-rest` and `phoenixd-mock` container images with the Jib Maven plugin:
3131

3232
```bash
3333
./mvnw deploy -pl phoenixd-rest -am
34+
./mvnw deploy -pl phoenixd-mock -am
3435
```
3536

36-
This pushes `docker.398ja.xyz/phoenixd-rest` to the registry. See [Docker](docs/how-to/docker.md) for details.
37+
Images are uploaded to `docker.398ja.xyz/phoenixd-rest` and `docker.398ja.xyz/phoenixd-mock` and tagged with both the project
38+
version and `latest`, allowing consumers to pull the most recent build without specifying a version. See
39+
[Docker](docs/how-to/docker.md) for details.
3740

3841
## Documentation
3942
- Reference: [phoenixd REST API](https://phoenix.acinq.co/server/api)

phoenixd-mock/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
<image>docker.398ja.xyz/phoenixd-mock</image>
7272
<tags>
7373
<tag>${project.version}</tag>
74+
<tag>latest</tag>
7475
</tags>
7576
</to>
7677
<containerizingMode>packaged</containerizingMode>

phoenixd-rest/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
<image>docker.398ja.xyz/phoenixd-rest</image>
7272
<tags>
7373
<tag>${project.version}</tag>
74+
<tag>latest</tag>
7475
</tags>
7576
</to>
7677
<containerizingMode>packaged</containerizingMode>

0 commit comments

Comments
 (0)