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

Commit

Permalink
Fix circle job name. (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwz authored Oct 13, 2019
1 parent fe3e059 commit 1ae2971
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,19 +77,14 @@ jobs:
TOKEN=$(curl -s \
-H "Content-Type: application/json" \
-X POST \
-d ${LOGIN_BODY} \
-d "${LOGIN_BODY}" \
https://hub.docker.com/v2/users/login | jq -r .token)
RESPONSE_CODE=$(curl -s \
curl -s --show-error --fail \
--write-out "%{response_code}" \
--output /dev/null \
-H "Authorization: JWT ${TOKEN}" \
-X PATCH --data-urlencode full_description@README_DOCKERHUB.md \
https://cloud.docker.com/v2/repositories/mwizner/sonarqube-scala-plugins)
if [[ $RESPONSE_CODE == "200" ]]; then
exit 0
else
exit 1
fi
-X PATCH --data-urlencode "full_description@README_DOCKERHUB.md" \
https://cloud.docker.com/v2/repositories/mwizner/sonarqube-scala-plugins/
workflows:
version: 2
pr-build:
Expand Down Expand Up @@ -128,7 +123,7 @@ workflows:
filters:
branches:
only: master
- update-dockerhub-readme-lts:
- update-dockerhub-readme:
requires:
- release-lts
filters:
Expand Down

0 comments on commit 1ae2971

Please sign in to comment.