mirror of
https://github.com/pezkuwichain/pezkuwi-apps.git
synced 2026-04-22 05:27:56 +00:00
feat: initial Pezkuwi Apps rebrand from polkadot-apps
Rebranded terminology: - Polkadot → Pezkuwi - Kusama → Dicle - Westend → Zagros - Rococo → PezkuwiChain - Substrate → Bizinikiwi - parachain → teyrchain Custom logos with Kurdistan brand colors (#e6007a → #86e62a): - bizinikiwi-hexagon.svg - sora-bizinikiwi.svg - hezscanner.svg - heztreasury.svg - pezkuwiscan.svg - pezkuwistats.svg - pezkuwiassembly.svg - pezkuwiholic.svg
This commit is contained in:
Executable
+33
@@ -0,0 +1,33 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright 2017-2025 @polkadot/apps authors & contributors
|
||||
# This software may be modified and distributed under the terms
|
||||
# of the Apache-2.0 license. See the LICENSE file for details.
|
||||
|
||||
# fail fast on any non-zero exits
|
||||
set -e
|
||||
|
||||
# the docker image name and dockerhub repo
|
||||
NAME="polkadot-js-apps"
|
||||
REPO="jacogr"
|
||||
|
||||
# extract the current npm version from package.json
|
||||
VERSION=$(cat package.json \
|
||||
| grep version \
|
||||
| head -1 \
|
||||
| awk -F: '{ print $2 }' \
|
||||
| sed 's/[",]//g' \
|
||||
| sed 's/ //g')
|
||||
|
||||
echo "*** Building $NAME"
|
||||
docker build -t $NAME -f docker/Dockerfile .
|
||||
|
||||
docker login -u $REPO -p $DOCKER_PASS
|
||||
|
||||
echo "*** Tagging $REPO/$NAME"
|
||||
if [[ $VERSION != *"beta"* ]]; then
|
||||
docker tag $NAME $REPO/$NAME:$VERSION
|
||||
fi
|
||||
docker tag $NAME $REPO/$NAME
|
||||
|
||||
echo "*** Publishing $NAME"
|
||||
docker push $REPO/$NAME
|
||||
Reference in New Issue
Block a user