mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 03:32:13 +02:00
+11
-11
@@ -4,15 +4,15 @@ Certbot-Docker project
|
|||||||
Goal
|
Goal
|
||||||
----
|
----
|
||||||
|
|
||||||
This project is used to publish on DockerHub a new version of the official Certbot Docker, and related Certbot DNS plugins Dockers, upon release of a new version of Certbot.
|
This project is used to publish a new version of the official Certbot Docker and related Certbot DNS plugins Dockers on DockerHub upon release of a new version of Certbot.
|
||||||
It leverages the AutoBuild features of DockerHub to coordinate this publication through a continous integration/deployment approach.
|
It leverages the AutoBuild features of DockerHub to coordinate this publication through a continous integration/deployment approach.
|
||||||
|
|
||||||
High-level behavior
|
High-level behavior
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
When a new version tag (eg. v0.35.0) is pushed to this repository, it triggers a new build in each DockerHub project, to construct and publish the new version of the Docker,
|
When a new version tag (eg. v0.35.0) is pushed to this repository, it triggers a new build in each DockerHub project, to construct and publish the new version of the Docker
|
||||||
containing the Certbot version corresponding to the pushed tag. With the example of the v0.35.0, the DockerHub projects will contain after few minutes a new tag v0.35.0,
|
containing the Certbot version corresponding to the pushed tag. For example, after following the instructions for v0.35.0 below, after a few minutes the DockerHub projects will contain a new tag "v0.35.0",
|
||||||
whose the Docker contains Certbot v0.35.0.
|
whose Docker contains Certbot v0.35.0.
|
||||||
|
|
||||||
Configuration
|
Configuration
|
||||||
-------------
|
-------------
|
||||||
@@ -35,9 +35,9 @@ Publication worfklow
|
|||||||
|
|
||||||
Assuming the version to publish is `v0.35.0`
|
Assuming the version to publish is `v0.35.0`
|
||||||
|
|
||||||
1) Clone this repository locally, checkout branch `master` and ensure to have a clean workspace.
|
1) Clone this repository locally, check out branch `master`, and ensure the workspace is clean.
|
||||||
2) (Optional) Execute `./build.sh v0.35.0` to test the Dockers builds.
|
2) (Optional) Execute `./build.sh v0.35.0` to test the Docker builds.
|
||||||
3) Execute `./deploy.sh v0.35.0` to trigger the publication of all Dockers with `v0.35.0` version.
|
3) Execute `./deploy.sh v0.35.0` to trigger the publication of all Dockers with version `v0.35.0`.
|
||||||
|
|
||||||
Scripts usage
|
Scripts usage
|
||||||
-------------
|
-------------
|
||||||
@@ -46,16 +46,16 @@ Scripts usage
|
|||||||
./build.sh [VERSION]
|
./build.sh [VERSION]
|
||||||
```
|
```
|
||||||
|
|
||||||
This script will build locally all Dockers for the given version using the same runtime than DockerHub.
|
This script will locally build all Dockers for the given version using the same runtime as DockerHub.
|
||||||
This can be used to test the build process before invoking the actual publication workflow.
|
This can be used to test the build process before invoking the actual publication workflow.
|
||||||
|
|
||||||
```
|
```
|
||||||
./deploy [VERSION]
|
./deploy [VERSION]
|
||||||
```
|
```
|
||||||
|
|
||||||
This script will trigger the publication on DockerHub of all Dockers for the given version. To do so, this script:
|
This script will trigger the publication of all Dockers for the given version to DockerHub. To do so, this script will:
|
||||||
- update the relevant `README.md` files that will be used as description in the DockerHub repositories,
|
- update the relevant `README.md` files that will be used as descriptions in the DockerHub repositories,
|
||||||
- commit locally the modifications,
|
- locally commit the modifications,
|
||||||
- tag this commit with the given version,
|
- tag this commit with the given version,
|
||||||
- push this tag and the updated `master` branch.
|
- push this tag and the updated `master` branch.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user