Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Commit

Permalink
#63 change 'master' tag name to 'next', use 'next' tag on che editor …
Browse files Browse the repository at this point in the history
…plugin

Signed-off-by: Yevhen Vydolob <yvydolob@redhat.com>
  • Loading branch information
evidolob committed Mar 7, 2019
1 parent f574c99 commit b12fdf1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions build_and_push_docker_images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion che-plugins/che-editor-theia/etc/che-plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b12fdf1

Please sign in to comment.