Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 2709ac6

Browse files
sergejparityAnk4n
authored andcommitted
CI add subkey docker image description and CI job to publish it to the hub.docker.com (#13392)
* Add subkey docker image description and ci job to publish it * Add link to docs * fix formatting * fix ci
1 parent f3e100e commit 2709ac6

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# The `subkey` program is a key management utility for Substrate-based blockchains. You can use the `subkey` program to perform the following tasks:
2+
3+
* Generate and inspect cryptographically-secure public and private key pairs.
4+
* Restore keys from secret phrases and raw seeds.
5+
* Sign and verify signatures on messages.
6+
* Sign and verify signatures for encoded transactions.
7+
* Derive hierarchical deterministic child key pairs.
8+
* [Documentation](https://docs.substrate.io/reference/command-line-tools/subkey/)

scripts/ci/gitlab/pipeline/publish.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,19 @@
4949
DOCKER_USER: $Docker_Hub_User_Parity
5050
DOCKER_PASS: $Docker_Hub_Pass_Parity
5151

52+
.push-docker-image-description:
53+
stage: publish
54+
extends:
55+
- .kubernetes-env
56+
- .publish-refs
57+
variables:
58+
CI_IMAGE: paritytech/docker-description
59+
DOCKERHUB_REPOSITORY: parity/$PRODUCT
60+
DOCKER_USERNAME: $Docker_Hub_User_Parity
61+
DOCKER_PASSWORD: $Docker_Hub_Pass_Parity
62+
README_FILEPATH: $CI_PROJECT_DIR/scripts/ci/docker/$PRODUCT.Dockerfile.README.md
63+
script:
64+
- echo # Dummy command to satisfy GitLab CI linter.
5265

5366
# publish image to docker.io/paritypr, (e.g. for later use in zombienet testing)
5467
.build-push-image-temporary:
@@ -90,6 +103,14 @@ publish-docker-subkey:
90103
variables:
91104
PRODUCT: subkey
92105

106+
publish-docker-description-subkey:
107+
extends: .push-docker-image-description
108+
needs:
109+
- job: build-subkey-linux
110+
variables:
111+
PRODUCT: subkey
112+
SHORT_DESCRIPTION: "The subkey program is a key management utility for Substrate-based blockchains."
113+
93114
publish-s3-release:
94115
stage: publish
95116
extends:

0 commit comments

Comments
 (0)