mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
Use docker commands
This commit is contained in:
parent
c4adfd49c0
commit
29533e751d
@ -105,8 +105,13 @@ jobs:
|
|||||||
script:
|
script:
|
||||||
- TAG_VERSION=$(./scripts/travis/deploy/tag-travis-branch.sh)
|
- TAG_VERSION=$(./scripts/travis/deploy/tag-travis-branch.sh)
|
||||||
- echo "Running the docker with tag" $TAG_VERSION
|
- echo "Running the docker with tag" $TAG_VERSION
|
||||||
- npm install @alfresco/adf-cli@alpha
|
- docker login -u="$DOCKER_REPOSITORY_USER" -p="$DOCKER_REPOSITORY_PASSWORD" "$DOCKER_REPOSITORY_DOMAIN"
|
||||||
- ./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" --pathProject "$(pwd)"
|
- echo docker build -t=$DOCKER_REPOSITORY:$TAG_VERSION .
|
||||||
|
- docker build -t=$DOCKER_REPOSITORY:$TAG_VERSION .
|
||||||
|
- echo docker tag $DOCKER_REPOSITORY:$TAG_VERSION $DOCKER_REPOSITORY:$TAG_VERSION
|
||||||
|
- docker tag $DOCKER_REPOSITORY:$TAG_VERSION $DOCKER_REPOSITORY:$TAG_VERSION
|
||||||
|
- echo docker push $DOCKER_REPOSITORY
|
||||||
|
- docker push $DOCKER_REPOSITORY
|
||||||
- stage: Update Rancher
|
- stage: Update Rancher
|
||||||
script:
|
script:
|
||||||
- TAG_VERSION=$(./scripts/travis/deploy/tag-travis-branch.sh)
|
- TAG_VERSION=$(./scripts/travis/deploy/tag-travis-branch.sh)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user