Skip to content

Commit

Permalink
use palantirtechnologies account name (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
qinfchen committed Jul 27, 2018
1 parent cd0af7b commit 48c7b04
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ jobs:
key: gradle-cache-v2-{{ checksum "versions.props" }}-{{ checksum "build.gradle" }}
- run: ./gradlew distTar
- run: ./scripts/build_docker.sh
- run: docker run palantir/recipe-example-server:$(git describe --tags --always --first-parent) --help
- run: docker run palantirtechnologies/recipe-example-server:$(git describe --tags --always --first-parent) --help
- deploy:
command: |
if [[ "${CIRCLE_BRANCH}" == "develop" || "${CIRCLE_TAG}" =~ [0-9]+(\.[0-9]+)+(-[a-zA-Z]+[0-9]*)* ]]; then
docker login -u $DOCKER_HUB_USERNAME -p $DOCKER_HUB_PASSWORD
docker push palantir/recipe-example-server:$(git describe --tags --always --first-parent)
docker push palantir/recipe-example-server:latest
docker push palantirtechnologies/recipe-example-server:$(git describe --tags --always --first-parent)
docker push palantirtechnologies/recipe-example-server:latest
fi
workflows:
Expand Down
4 changes: 2 additions & 2 deletions scripts/build_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ tar -xf "./recipe-example-server/build/distributions/recipe-example-server-${VER
cp ./recipe-example-server/var/conf/recipes.yml $DEST/recipe-example-server/var/conf

cd $DEST
docker build -t "palantir/recipe-example-server:$VERSION" .
docker tag "palantir/recipe-example-server:$VERSION" "palantir/recipe-example-server:latest"
docker build -t "palantirtechnologies/recipe-example-server:$VERSION" .
docker tag "palantirtechnologies/recipe-example-server:$VERSION" "palantirtechnologies/recipe-example-server:latest"

0 comments on commit 48c7b04

Please sign in to comment.