Skip to content

Commit

Permalink
Fix the correct build Mark - Assets not auth
Browse files Browse the repository at this point in the history
Updated the wrong the build
  • Loading branch information
mwinteringham committed Nov 27, 2019
1 parent 60dbfb8 commit de0e39d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,8 @@ jobs:
if [ -f ~/project/auth/target/restful-booker-platform-auth-*.jar ] && [ $CIRCLE_BRANCH == "master" ]; then
echo "[BUILDING] Auth"
docker login -u $DOCKER_USER -p $DOCKER_PASS
docker build -t mwinteringham/restfulbookerplatform_auth:$(ls api/target/restful-booker-platform-auth-*.jar | cut -d '-' -f 5 | cut -c1-11) .
docker push mwinteringham/restfulbookerplatform_auth:$(ls api/target/restful-booker-platform-auth-*.jar | cut -d '-' -f 5 | cut -c1-11)
docker build -t mwinteringham/restfulbookerplatform_auth:$(ls target/restful-booker-platform-auth-*.jar | cut -d '-' -f 5 | cut -c1-11) .
docker push mwinteringham/restfulbookerplatform_auth:$(ls target/restful-booker-platform-auth-*.jar | cut -d '-' -f 5 | cut -c1-11)
else
echo "[SKIPPING] Auth"
fi
Expand Down Expand Up @@ -383,8 +383,8 @@ jobs:
if [ -f ~/project/assets/api/target/restful-booker-platform-assets-*.jar ] && [ $CIRCLE_BRANCH == "master" ]; then
echo "[BUILDING] Assets"
docker login -u $DOCKER_USER -p $DOCKER_PASS
docker build -t mwinteringham/restfulbookerplatform_assets:$(ls target/restful-booker-platform-assets-*.jar | cut -d '-' -f 5 | cut -c1-11) .
docker push mwinteringham/restfulbookerplatform_assets:$(ls target/restful-booker-platform-assets-*.jar | cut -d '-' -f 5 | cut -c1-11)
docker build -t mwinteringham/restfulbookerplatform_assets:$(ls api/target/restful-booker-platform-assets-*.jar | cut -d '-' -f 5 | cut -c1-11) .
docker push mwinteringham/restfulbookerplatform_assets:$(ls api/target/restful-booker-platform-assets-*.jar | cut -d '-' -f 5 | cut -c1-11)
else
echo "[SKIPPING] Assets"
fi
Expand Down
2 changes: 1 addition & 1 deletion assets/api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,4 @@
</dependency>
</dependencies>

</project>
</project>

0 comments on commit de0e39d

Please sign in to comment.