Skip to content

Commit

Permalink
Move rules into common place (paritytech#13428)
Browse files Browse the repository at this point in the history
  • Loading branch information
sergejparity authored and nathanwhit committed Jul 19, 2023
1 parent 41bd196 commit 0560254
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
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

0 comments on commit 0560254

Please sign in to comment.