Skip to content

Commit

Permalink
update docker workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Taniya-Das committed Dec 3, 2024
1 parent 69fc620 commit 449101c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/release_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ jobs:
run: |
docker push openml/openml-tensorflow:latest
- name: Update Docker Hub Overview
run: |
# Extract the content of Docker.md
DESCRIPTION=$(cat docs/Docker\ reference/Docker.md)
# Authenticate with Docker Hub and update description
curl -X PATCH https://hub.docker.com/v2/repositories/openml/openml-tensorflow/ \
-H "Authorization: Bearer ${{ secrets.ORG_DOCKERHUB_TOKEN }}" \
-H "Content-Type: application/json" \
-d "{\"full_description\": \"$DESCRIPTION\"}"
# - name: Update Docker Hub Overview
# run: |
# # Extract the content of Docker.md
# DESCRIPTION=$(cat docs/Docker\ reference/Docker.md)

# # Authenticate with Docker Hub and update description
# curl -X PATCH https://hub.docker.com/v2/repositories/openml/openml-tensorflow/ \
# -H "Authorization: Bearer ${{ secrets.ORG_DOCKERHUB_TOKEN }}" \
# -H "Content-Type: application/json" \
# -d "{\"full_description\": \"$DESCRIPTION\"}"


0 comments on commit 449101c

Please sign in to comment.