generated from snowdreamtech/alpine
-
Notifications
You must be signed in to change notification settings - Fork 0
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
37 additions
and
26 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,37 @@ | ||
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/[email protected] | ||
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/rust | ||
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/rust | ||
provider: quay | ||
readme_file: "README.md" |
This file was deleted.
Oops, something went wrong.