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

CI add subkey docker image description and CI job to publish it to the hub.docker.com #13392

Merged
merged 4 commits into from
Feb 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions scripts/ci/docker/subkey.Dockerfile.README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# The `subkey` program is a key management utility for Substrate-based blockchains. You can use the `subkey` program to perform the following tasks:

* Generate and inspect cryptographically-secure public and private key pairs.
* Restore keys from secret phrases and raw seeds.
* Sign and verify signatures on messages.
* Sign and verify signatures for encoded transactions.
* Derive hierarchical deterministic child key pairs.
* [Documentation](https://docs.substrate.io/reference/command-line-tools/subkey/)
21 changes: 21 additions & 0 deletions scripts/ci/gitlab/pipeline/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,19 @@
DOCKER_USER: $Docker_Hub_User_Parity
DOCKER_PASS: $Docker_Hub_Pass_Parity

.push-docker-image-description:
stage: publish
extends:
- .kubernetes-env
- .publish-refs
variables:
CI_IMAGE: paritytech/docker-description
DOCKERHUB_REPOSITORY: parity/$PRODUCT
DOCKER_USERNAME: $Docker_Hub_User_Parity
DOCKER_PASSWORD: $Docker_Hub_Pass_Parity
README_FILEPATH: $CI_PROJECT_DIR/scripts/ci/docker/$PRODUCT.Dockerfile.README.md
script:
- echo # Dummy command to satisfy GitLab CI linter.

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

publish-docker-description-subkey:
extends: .push-docker-image-description
needs:
- job: build-subkey-linux
variables:
PRODUCT: subkey
SHORT_DESCRIPTION: "The subkey program is a key management utility for Substrate-based blockchains."

publish-s3-release:
stage: publish
extends:
Expand Down