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

Commit 1ae2971

Browse files
authored
Fix circle job name. (#16)
1 parent fe3e059 commit 1ae2971

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

.circleci/config.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -77,19 +77,14 @@ jobs:
7777
TOKEN=$(curl -s \
7878
-H "Content-Type: application/json" \
7979
-X POST \
80-
-d ${LOGIN_BODY} \
80+
-d "${LOGIN_BODY}" \
8181
https://hub.docker.com/v2/users/login | jq -r .token)
82-
RESPONSE_CODE=$(curl -s \
82+
curl -s --show-error --fail \
8383
--write-out "%{response_code}" \
8484
--output /dev/null \
8585
-H "Authorization: JWT ${TOKEN}" \
86-
-X PATCH --data-urlencode full_description@README_DOCKERHUB.md \
87-
https://cloud.docker.com/v2/repositories/mwizner/sonarqube-scala-plugins)
88-
if [[ $RESPONSE_CODE == "200" ]]; then
89-
exit 0
90-
else
91-
exit 1
92-
fi
86+
-X PATCH --data-urlencode "full_description@README_DOCKERHUB.md" \
87+
https://cloud.docker.com/v2/repositories/mwizner/sonarqube-scala-plugins/
9388
workflows:
9489
version: 2
9590
pr-build:
@@ -128,7 +123,7 @@ workflows:
128123
filters:
129124
branches:
130125
only: master
131-
- update-dockerhub-readme-lts:
126+
- update-dockerhub-readme:
132127
requires:
133128
- release-lts
134129
filters:

0 commit comments

Comments
 (0)