Skip to content

Commit

Permalink
Merge pull request #1618 from orbs-network/feature/disable-release-to…
Browse files Browse the repository at this point in the history
…-main-docker-org

Disable release to main docker org
  • Loading branch information
Kirill Maksimov authored Aug 12, 2020
2 parents 23d7765 + 877ecec commit 544aace
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
7 changes: 3 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,12 @@ jobs:
- run: ./docker/build/build-docker-gamma.sh
- run: ./.circleci/release-gamma-to-ecr.sh

release:
release-gamma:
machine:
image: ubuntu-1604:201903-01
steps:
- checkout
- run: ./.circleci/release.sh
- run: ./.circleci/release-gamma.sh

node_e2e:
machine:
Expand Down Expand Up @@ -227,9 +227,8 @@ workflows:
filters:
tags:
only: /^v.*/
- release:
- release-gamma:
requires:
- node_e2e
- gamma_e2e
filters:
tags:
Expand Down
6 changes: 2 additions & 4 deletions .circleci/release.sh → .circleci/release-gamma.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@ fi
$(aws ecr get-login --no-include-email --region us-west-2)
docker login -u $DOCKER_HUB_LOGIN -p $DOCKER_HUB_PASSWORD

docker pull $NODE_DOCKER_IMAGE:$(./docker/hash.sh)

docker tag $NODE_DOCKER_IMAGE:$(./docker/hash.sh) orbsnetwork/node:$VERSION
docker push orbsnetwork/node:$VERSION
# we are only releasing gamma
# node releases are manual

docker pull $GAMMA_DOCKER_IMAGE:$(./docker/hash.sh)

Expand Down

0 comments on commit 544aace

Please sign in to comment.