From b12fdf1767ca9fb533c8a7f4762cc8a22708b1df Mon Sep 17 00:00:00 2001 From: Yevhen Vydolob Date: Thu, 7 Mar 2019 10:38:29 +0200 Subject: [PATCH] #63 change 'master' tag name to 'next', use 'next' tag on che editor plugin Signed-off-by: Yevhen Vydolob --- build_and_push_docker_images.sh | 10 +++++----- che-plugins/che-editor-theia/etc/che-plugin.yaml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/build_and_push_docker_images.sh b/build_and_push_docker_images.sh index cc1e40d3b..d5ab22c3d 100755 --- a/build_and_push_docker_images.sh +++ b/build_and_push_docker_images.sh @@ -35,10 +35,10 @@ for image_dir in "${DOCKER_FILES_LOCATIONS[@]}" do GITHUB_TOKEN_ARG="GITHUB_TOKEN="${GITHUB_TOKEN} if [ "$image_dir" == "dockerfiles/theia" ]; then - THEIA_IMAGE_TAG="master" - bash $(pwd)/$image_dir/build.sh --build-args:${GITHUB_TOKEN_ARG},THEIA_VERSION=master --tag:master --branch:master --git-ref:refs\\/heads\\/master + THEIA_IMAGE_TAG="next" + bash $(pwd)/$image_dir/build.sh --build-args:${GITHUB_TOKEN_ARG},THEIA_VERSION=master --tag:next --branch:master --git-ref:refs\\/heads\\/master elif [ "$image_dir" == "dockerfiles/theia-dev" ]; then - bash $(pwd)/$image_dir/build.sh --build-arg:${GITHUB_TOKEN_ARG} --tag:master + bash $(pwd)/$image_dir/build.sh --build-arg:${GITHUB_TOKEN_ARG} --tag:next else bash $(pwd)/$image_dir/build.sh --build-arg:${GITHUB_TOKEN_ARG} fi @@ -57,10 +57,10 @@ if [ "$BUILD_BRANCH" == "master" ]; then for image in "${IMAGES_LIST[@]}" do if [ "$image" == "eclipse/che-theia" ]; then - docker tag ${image}:master ${image}:${THEIA_IMAGE_TAG} + docker tag ${image}:next ${image}:${THEIA_IMAGE_TAG} echo y | docker push ${image}:${THEIA_IMAGE_TAG} elif [ "$image" == "eclipse/che-theia-dev" ]; then - docker tag ${image}:master ${image}:${THEIA_IMAGE_TAG} + docker tag ${image}:next ${image}:${THEIA_IMAGE_TAG} echo y | docker push ${image}:${THEIA_IMAGE_TAG} else echo y | docker push ${image}:nightly diff --git a/che-plugins/che-editor-theia/etc/che-plugin.yaml b/che-plugins/che-editor-theia/etc/che-plugin.yaml index 56d5aa4c4..67e0d1c95 100644 --- a/che-plugins/che-editor-theia/etc/che-plugin.yaml +++ b/che-plugins/che-editor-theia/etc/che-plugin.yaml @@ -24,7 +24,7 @@ endpoints: discoverable: false containers: - name: theia-ide - image: eclipse/che-theia:master + image: eclipse/che-theia:next env: - name: THEIA_PLUGINS value: local-dir:///plugins