Skip to content

Commit 696c94a

Browse files
committed
chore: tidy
1 parent 0fd725a commit 696c94a

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/dockerhub-description.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,9 @@ jobs:
1313
with:
1414
token: ${{ secrets.GITHUB_TOKEN }}
1515
- name: Update DockerHub description
16-
run: |
17-
DESCRIPTION='The `dind` image is designed for EarthBuild targets that use the `WITH DOCKER` command'
18-
FULL_DESCRIPTION=$(jq -Rs . < README.md)
19-
curl -X PATCH \
20-
-H "Authorization: Bearer ${{ secrets.DOCKERHUB_TOKEN }}" \
21-
-H "Content-Type: application/json" \
22-
-d "{\"description\": \"$DESCRIPTION\", \"full_description\": $FULL_DESCRIPTION}" \
23-
https://hub.docker.com/v2/repositories/earthbuild/dind/
16+
uses: peter-evans/[email protected]
17+
with:
18+
username: ${{ secrets.DOCKERHUB_USERNAME }}
19+
password: ${{ secrets.DOCKERHUB_TOKEN }}
20+
repository: earthbuild/dind
21+
short-description: The `dind` image is designed for EarthBuild targets

0 commit comments

Comments
 (0)