mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
21 lines
595 B
Bash
Executable File
21 lines
595 B
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)" \
|
||
"$@"
|