-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: This github action updates the description of a container repo …
…on Docker Hub, Quay or Harbor v2 from a README file.
- Loading branch information
Showing
2 changed files
with
55 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: GitHub Actions Description Updater | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- README.md | ||
- .github/workflows/description.yml | ||
|
||
jobs: | ||
dockerHubDescription: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4.2.2 | ||
with: | ||
# [Required] Access token with `workflow` scope. | ||
token: ${{ secrets.WORKFLOW_SECRET }} | ||
- name: Docker Hub Description | ||
uses: christian-korneck/update-container-description-action@v1 | ||
env: | ||
DOCKER_USER: ${{ secrets.DOCKER_HUB_USERNAME }} | ||
DOCKER_PASS: ${{ secrets.DOCKER_HUB_TOKEN }} | ||
with: | ||
destination_container_repo: snowdreamtech/frpc | ||
provider: dockerhub | ||
short_description: ${{ github.event.repository.description }} | ||
readme_file: "README.md" | ||
- name: Docker Hub Description | ||
uses: christian-korneck/update-container-description-action@v1 | ||
env: | ||
DOCKER_USER: ${{ secrets.DOCKER_HUB_USERNAME }} | ||
DOCKER_PASS: ${{ secrets.DOCKER_HUB_TOKEN }} | ||
with: | ||
destination_container_repo: snowdreamtech/frps | ||
provider: dockerhub | ||
short_description: ${{ github.event.repository.description }} | ||
readme_file: "README.md" | ||
- name: Quay.io Description | ||
uses: christian-korneck/update-container-description-action@v1 | ||
env: | ||
DOCKER_APIKEY: ${{ secrets.QUAY_API_TOKEN }} | ||
with: | ||
destination_container_repo: quay.io/snowdreamtech/frpc | ||
provider: quay | ||
readme_file: "README.md" | ||
- name: Quay.io Description | ||
uses: christian-korneck/update-container-description-action@v1 | ||
env: | ||
DOCKER_APIKEY: ${{ secrets.QUAY_API_TOKEN }} | ||
with: | ||
destination_container_repo: quay.io/snowdreamtech/frps | ||
provider: quay | ||
readme_file: "README.md" |
This file was deleted.
Oops, something went wrong.