diff --git a/README.md b/README.md index 5380219..b2bd441 100644 --- a/README.md +++ b/README.md @@ -27,13 +27,16 @@ Artifacts are published to a Reposilite server. Add the repository to your Maven - A valid Lightning address (for test runs) ## Docker -Build and publish the `phoenixd-rest` container image with the Jib Maven plugin: +Build and publish the `phoenixd-rest` and `phoenixd-mock` container images with the Jib Maven plugin: ```bash ./mvnw deploy -pl phoenixd-rest -am +./mvnw deploy -pl phoenixd-mock -am ``` -This pushes `docker.398ja.xyz/phoenixd-rest` to the registry. See [Docker](docs/how-to/docker.md) for details. +Images are uploaded to `docker.398ja.xyz/phoenixd-rest` and `docker.398ja.xyz/phoenixd-mock` and tagged with both the project +version and `latest`, allowing consumers to pull the most recent build without specifying a version. See +[Docker](docs/how-to/docker.md) for details. ## Documentation - Reference: [phoenixd REST API](https://phoenix.acinq.co/server/api) diff --git a/phoenixd-mock/pom.xml b/phoenixd-mock/pom.xml index b123c61..15ac107 100644 --- a/phoenixd-mock/pom.xml +++ b/phoenixd-mock/pom.xml @@ -71,6 +71,7 @@ docker.398ja.xyz/phoenixd-mock ${project.version} + latest packaged diff --git a/phoenixd-rest/pom.xml b/phoenixd-rest/pom.xml index 55bf2b6..78b834d 100644 --- a/phoenixd-rest/pom.xml +++ b/phoenixd-rest/pom.xml @@ -71,6 +71,7 @@ docker.398ja.xyz/phoenixd-rest ${project.version} + latest packaged