From 9695146473f5f0fe49122b0322d4570ae836ff4b Mon Sep 17 00:00:00 2001 From: danellecline Date: Mon, 3 Jun 2024 15:53:44 -0700 Subject: [PATCH] ci: add docker hub description --- .github/workflows/release.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index da71a68..80199cb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,4 +27,19 @@ jobs: cd docker && \ docker buildx build --push --platform linux/amd64,linux/arm64 --label IMAGE_URI=mbari/sdcat:$RELEASE_VERSION-cuda:12.4.1 -t mbari/sdcat-cuda:12.4.1-$RELEASE_VERSION -f Dockerfile.cuda12 . && \ docker buildx build --push --platform linux/amd64,linux/arm64 --label IMAGE_URI=mbari/sdcat:$RELEASE_VERSION -t mbari/sdcat:$RELEASE_VERSION -f Dockerfile . - + push_readme_to_dockerhub: + runs-on: ubuntu-latest + name: Push README to Docker Hub + steps: + - name: git checkout + uses: actions/checkout@v2 + - name: push README to Dockerhub + uses: christian-korneck/update-container-description-action@v1 + env: + DOCKER_USER: ${{ secrets.DOCKERHUB_USERNAME }} + DOCKER_PASS: ${{ secrets.DOCKERHUB_TOKEN }} + with: + destination_container_repo: mbari/sdcat-cuda:12.4.1-$RELEASE_VERSION + provider: dockerhub + short_description: 'Sliced Detection and Clustering Analysis Toolkit 😊' + readme_file: 'README.md' \ No newline at end of file