mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* Decoupling the build from release * test if we are still able to release on npm and docker * Split docker tag from deploy * Fix storybook * Decouple build lib/apps from releasing * Remove useless or
23 lines
1.0 KiB
Bash
Executable File
23 lines
1.0 KiB
Bash
Executable File
#!/usr/bin/env bash
|
||
|
||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||
cd $DIR/../../../
|
||
|
||
echo "ℹ️ demo-shell: Running the docker with tag" $TAGS
|
||
|
||
DOCKER_PROJECT_ARGS="PROJECT_NAME=demo-shell"
|
||
|
||
# Publish Image to docker
|
||
./node_modules/@alfresco/adf-cli/bin/adf-cli docker --loginCheck --loginUsername "$DOCKER_REPOSITORY_USER" --loginPassword "$DOCKER_REPOSITORY_PASSWORD" --loginRepo "$DOCKER_REPOSITORY_DOMAIN" --dockerRepo "$DOCKER_REPOSITORY" --buildArgs "$DOCKER_PROJECT_ARGS" --dockerTags "$TAGS" --pathProject "$(pwd)"
|
||
|
||
echo "ℹ️ storybook-shell: Running the docker with tag" $TAGS
|
||
|
||
DOCKER_PROJECT_ARGS="PROJECT_NAME=storybook/stories"
|
||
|
||
echo "{}" > $DIR/../../../dist/storybook/stories/app.config.json
|
||
|
||
# Publish Image to docker
|
||
./node_modules/@alfresco/adf-cli/bin/adf-cli docker --loginCheck --loginUsername "$DOCKER_REPOSITORY_USER" --loginPassword "$DOCKER_REPOSITORY_PASSWORD" --loginRepo "$DOCKER_REPOSITORY_DOMAIN" --dockerRepo "$DOCKER_REPOSITORY_STORYBOOK" --buildArgs "$DOCKER_PROJECT_ARGS" --dockerTags "$TAGS" --pathProject "$(pwd)"
|
||
|
||
|