Skip to content

Commit

Permalink
Use dockerhub description
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-XT committed Oct 2, 2023
1 parent cf5996a commit e4f4326
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ jobs:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: ${{ vars.DOCKERHUB_USERNAME }}/llamacpp

- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
Expand All @@ -49,12 +56,3 @@ jobs:
${{ vars.DOCKERHUB_USERNAME }}/llamacpp:${{ matrix.llamacpp_image }}
build-args: |
LLAMACPP_IMAGE=${{ matrix.llamacpp_image }}
- name: Update DockerHub README
uses: ghcr.io/peter-evans/dockerhub-description@v2
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
repository: llamacpp
readme: ./README.md
token: ${{ secrets.GH_TOKEN }}

0 comments on commit e4f4326

Please sign in to comment.