Skip to content

Commit

Permalink
update short description reading meachanism
Browse files Browse the repository at this point in the history
  • Loading branch information
snigdhasjg committed Sep 14, 2023
1 parent 8be41b7 commit 2497bbb
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/docker-hub-description.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,30 @@ jobs:
with:
fetch-depth: 1

- id: zshbuntu_read_files
name: Read files
run: |
echo "short_description=$(cat ./zshbuntu/docs/short_description.txt)" >> $GITHUB_OUTPUT
- name: Docker Hub Description ZSHbuntu
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
repository: ${{ vars.DOCKERHUB_USERNAME }}/zshbuntu
short-description: "Your Ultimate Ubuntu Image with Zsh Magic!"
short-description: ${{ steps.zshbuntu_read_files.outputs.short_description }}
readme-filepath: "./zshbuntu/docs/README.md"

- id: zshmazon_read_files
name: Read files
run: |
echo "short_description=$(cat ./zshmazon/docs/short_description.txt)" >> $GITHUB_OUTPUT
- name: Docker Hub Description ZSHmazon
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
repository: ${{ vars.DOCKERHUB_USERNAME }}/zshmazon
short-description: "Your Ultimate AmazonLinux Image with Zsh Magic!"
short-description: ${{ steps.zshmazon_read_files.outputs.short_description }}
readme-filepath: "./zshmazon/docs/README.md"
1 change: 1 addition & 0 deletions zshbuntu/docs/short_description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Your Ultimate Ubuntu Image with Zsh Magic!
1 change: 1 addition & 0 deletions zshmazon/docs/short_description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Your Ultimate AmazonLinux Image with Zsh Magic!

0 comments on commit 2497bbb

Please sign in to comment.