Skip to content

Commit

Permalink
Merge pull request #35 from CodeLieutenant/feat--readme
Browse files Browse the repository at this point in the history
docs: add github action workflows to update README on DockerHub
  • Loading branch information
CodeLieutenant authored Dec 23, 2024
2 parents 01e0694 + 90ec232 commit 6b0ab25
Show file tree
Hide file tree
Showing 3 changed files with 369 additions and 34 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ jobs:
uses: docker/login-action@v3
with:
registry: ${{ secrets.REGISTRY }}
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }}
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push API
uses: docker/build-push-action@v5
with:
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/dockerhub-description.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Update Docker Hub Description
on:
push:
branches:
- master
paths:
- README.md
- .github/workflows/dockerhub-description.yml
jobs:
description:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Docker Hub Description
uses: peter-evans/dockerhub-description@v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
repository: scylladb/cassandra-stress
short-description: ${{ github.event.repository.description }}
enable-url-completion: true
Loading

0 comments on commit 6b0ab25

Please sign in to comment.