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

CI Publish substrate docker image description to hub.docker.com. #13428

Merged
merged 1 commit into from
Feb 23, 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
1 change: 1 addition & 0 deletions scripts/ci/docker/substrate.Dockerfile.README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Substrate Docker Image
12 changes: 10 additions & 2 deletions scripts/ci/gitlab/pipeline/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@
DOCKER_USERNAME: $Docker_Hub_User_Parity
DOCKER_PASSWORD: $Docker_Hub_Pass_Parity
README_FILEPATH: $CI_PROJECT_DIR/scripts/ci/docker/$PRODUCT.Dockerfile.README.md
rules:
- if: $CI_COMMIT_REF_NAME == "master"
changes:
- scripts/ci/docker/$PRODUCT.Dockerfile.README.md
script:
- cd / && sh entrypoint.sh

Expand All @@ -81,6 +85,12 @@ publish-docker-substrate:
variables:
PRODUCT: substrate

publish-docker-description-substrate:
extends: .push-docker-image-description
variables:
PRODUCT: substrate
SHORT_DESCRIPTION: "Substrate Docker Image."

publish-docker-substrate-temporary:
extends: .build-push-image-temporary
needs:
Expand All @@ -105,8 +115,6 @@ publish-docker-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."
Expand Down