mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
remove rancher update (#1772)
This commit is contained in:
14
scripts/travis/deploy/publish.sh
Executable file
14
scripts/travis/deploy/publish.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
cd $DIR/../../../
|
||||
|
||||
npm run build
|
||||
|
||||
# Get Tag Image
|
||||
TAG_VERSION=$(./scripts/travis/deploy/get-docker-image-tag-name.sh)
|
||||
echo "Running the docker with tag" $TAG_VERSION
|
||||
|
||||
# Publish Image to docker
|
||||
./node_modules/@alfresco/adf-cli/bin/adf-cli docker-publish --loginCheck --loginUsername "$DOCKER_REPOSITORY_USER" --loginPassword "$DOCKER_REPOSITORY_PASSWORD" --loginRepo "$DOCKER_REPOSITORY_DOMAIN" --dockerRepo "$DOCKER_REPOSITORY" --dockerTags "$TAG_VERSION,$TRAVIS_BRANCH" --pathProject "$(pwd)"
|
Reference in New Issue
Block a user