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

Commit 919d5cf

Browse files
authored
Move rules into common place (#13428)
1 parent 4be5dd2 commit 919d5cf

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Substrate Docker Image

scripts/ci/gitlab/pipeline/publish.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@
6060
DOCKER_USERNAME: $Docker_Hub_User_Parity
6161
DOCKER_PASSWORD: $Docker_Hub_Pass_Parity
6262
README_FILEPATH: $CI_PROJECT_DIR/scripts/ci/docker/$PRODUCT.Dockerfile.README.md
63+
rules:
64+
- if: $CI_COMMIT_REF_NAME == "master"
65+
changes:
66+
- scripts/ci/docker/$PRODUCT.Dockerfile.README.md
6367
script:
6468
- cd / && sh entrypoint.sh
6569

@@ -81,6 +85,12 @@ publish-docker-substrate:
8185
variables:
8286
PRODUCT: substrate
8387

88+
publish-docker-description-substrate:
89+
extends: .push-docker-image-description
90+
variables:
91+
PRODUCT: substrate
92+
SHORT_DESCRIPTION: "Substrate Docker Image."
93+
8494
publish-docker-substrate-temporary:
8595
extends: .build-push-image-temporary
8696
needs:
@@ -105,8 +115,6 @@ publish-docker-subkey:
105115

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

0 commit comments

Comments
 (0)