Testing Internal Builds
Testing Internal Builds
Section titled “Testing Internal Builds”Internal builds for all product service images are available on ghcr.io. These publish on every push to our service repos on GitHub and are tagged with the associated branch name.
Access is restricted to the outside world to help prevent accidental use. To authenticate:
- Create a Personal Access Token (PAT) with
read:packagesaccess only. - Run
docker login ghcr.ioon your machine. This will prompt you for your GitHub username, and a password. Use the PAT you created above.
Dev builds will now be available by prefixing the image name with ghcr.io. For example, if you would like to test branch foo from core, the image tag is ghcr.io/placeos/core:foo.
- edit the
.envfile in your development environment - replace
${PLACEOS_TAG}with the test branch, i.e.ghcr.io/placeos/core:foo - pull down the internal image
docker-compose pull - run the new image
docker-compose up -d
These must not be used on external infrastructure, but are suitable for internal testing and experimentation. For external development use, platform nightly builds are available on Docker Hub. Extending the example above, core can be accessed there via placeos/core:nightly. Similarly the latest stable build can be found simply as placeos/core.