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

Commit 0fb1ab1

Browse files
authored
Remove dockerhub automation. (#18)
1 parent ce8f984 commit 0fb1ab1

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

.circleci/config.yml

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -64,27 +64,6 @@ jobs:
6464
./release-lts.sh
6565
git tag -a $VERSION -m "Release $VERSION."
6666
git push --tags
67-
update-dockerhub-readme:
68-
docker:
69-
- image: circleci/openjdk:8-jdk
70-
steps:
71-
- checkout
72-
- run:
73-
name: Update Dockerhub readme
74-
command: |
75-
sudo apt-get update && sudo apt-get install -y jq
76-
LOGIN_BODY="{\"username\": \"${DOCKER_USER}\", \"password\": \"${DOCKER_PASS}\"}"
77-
TOKEN=$(curl -s \
78-
-H "Content-Type: application/json" \
79-
-X POST \
80-
-d "${LOGIN_BODY}" \
81-
https://hub.docker.com/v2/users/login | jq -r .token)
82-
curl -s --show-error --fail \
83-
--write-out "%{response_code}" \
84-
--output /dev/null \
85-
-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/
8867
workflows:
8968
version: 2
9069
pr-build:
@@ -106,12 +85,6 @@ workflows:
10685
filters:
10786
branches:
10887
only: master
109-
- update-dockerhub-readme:
110-
requires:
111-
- release
112-
filters:
113-
branches:
114-
only: master
11588
- hold-lts:
11689
type: approval
11790
filters:
@@ -123,9 +96,3 @@ workflows:
12396
filters:
12497
branches:
12598
only: master
126-
- update-dockerhub-readme:
127-
requires:
128-
- release-lts
129-
filters:
130-
branches:
131-
only: master

0 commit comments

Comments
 (0)