2018-08-07 11:26:43 -04:00
|
|
|
# Maintainers
|
|
|
|
|
|
|
|
## Table of Contents
|
2021-10-29 12:23:08 -04:00
|
|
|
|
2018-09-06 14:44:17 -04:00
|
|
|
* [Docker Content Trust](#docker-content-trust)
|
|
|
|
* [Release Process](#release-process)
|
|
|
|
|
|
|
|
## Docker Content Trust
|
2018-08-07 11:26:43 -04:00
|
|
|
|
2021-10-29 12:23:08 -04:00
|
|
|
Official VinylDNS Docker images are signed when being pushed to Docker Hub. Docs for Docker Content Trust can be found
|
|
|
|
at <https://docs.docker.com/engine/security/trust/>.
|
2018-08-07 11:26:43 -04:00
|
|
|
|
2021-10-29 12:23:08 -04:00
|
|
|
Content trust is enabled through the `DOCKER_CONTENT_TRUST` environment variable, which must be set to `1`. It is
|
|
|
|
recommended that in your `~/.bashrc`, you have `export DOCKER_CONTENT_TRUST=1` by default, and if you ever want to turn
|
|
|
|
it off for a Docker command, add the `--disable-content-trust` flag to the command,
|
|
|
|
e.g. `docker pull --disable-content-trust ...`.
|
2018-08-07 11:26:43 -04:00
|
|
|
|
2021-10-29 12:23:08 -04:00
|
|
|
There are multiple Docker repositories on Docker Hub under
|
|
|
|
the [vinyldns organization](https://hub.docker.com/u/vinyldns/dashboard/). Namely:
|
2018-08-07 11:26:43 -04:00
|
|
|
|
2021-10-29 12:23:08 -04:00
|
|
|
* vinyldns/api: images for vinyldns core api engine
|
2018-08-07 11:26:43 -04:00
|
|
|
* vinyldns/portal: images for vinyldns web client
|
|
|
|
|
|
|
|
The offline root key and repository keys are managed by the core maintainer team. The keys managed are:
|
|
|
|
|
|
|
|
* root key: also known as the offline key, used to create the separate repository signing keys
|
|
|
|
* api key: used to sign tagged images in vinyldns/api
|
|
|
|
* portal key: used to sign tagged images in vinyldns/portal
|
|
|
|
|
2021-10-29 12:23:08 -04:00
|
|
|
## Release Process
|
2018-09-06 14:44:17 -04:00
|
|
|
|
2021-10-29 12:23:08 -04:00
|
|
|
The release process is automated by GitHub Actions.
|
2018-12-17 18:24:27 +01:00
|
|
|
|
2021-10-29 12:23:08 -04:00
|
|
|
To start, create a release in GitHub with the same tag as the version found in `version.sbt`.
|
2018-09-06 14:44:17 -04:00
|
|
|
|
2021-10-29 12:23:08 -04:00
|
|
|
The release will perform the following actions:
|
2018-08-07 11:26:43 -04:00
|
|
|
|
2021-10-29 12:23:08 -04:00
|
|
|
1. Published Docker images to `hub.docker.com`
|
|
|
|
2. Attached artifacts created by the build to the GitHub release
|