Skip to content

Commit

Permalink
remove steps syncing github desc with dockerhub's from buildx
Browse files Browse the repository at this point in the history
  • Loading branch information
wiserain committed Oct 26, 2022
1 parent 530bd2d commit f29dc27
Showing 1 changed file with 1 addition and 31 deletions.
32 changes: 1 addition & 31 deletions .github/workflows/buildx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ jobs:
-
name: Send Notification
uses: sarisia/actions-status-discord@v1
if: failure()
if: always()
with:
webhook: ${{ secrets.DISCORD_WEBHOOK }}
status: ${{ job.status }}
Expand All @@ -154,33 +154,3 @@ jobs:
${{ env.IMAGE_NAME }}:${{ matrix.branch }}-${{ env.TVH_BUILD }}
ghcr.io/${{ env.IMAGE_NAME }}:${{ matrix.branch }}
ghcr.io/${{ env.IMAGE_NAME }}:${{ matrix.branch }}-${{ env.TVH_BUILD }}
pushrm:
needs:
- build-tvheadend
runs-on: ubuntu-20.04
if: github.actor == github.event.repository.owner.login
steps:
-
name: Load Variables
id: vars
run: |
echo ::set-output name=github_desc::$(curl -sX GET https://api.github.com/repos/${GITHUB_REPOSITORY} | jq -r .description)
-
name: Checkout
uses: actions/checkout@v3
-
name: Update Dockerhub description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ env.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_PASS }}
repository: ${{ env.IMAGE_NAME }}
short-description: ${{ steps.vars.outputs.github_desc }}
-
name: Send Notification
uses: sarisia/actions-status-discord@v1
if: always()
with:
webhook: ${{ secrets.DISCORD_WEBHOOK }}
status: ${{ job.status }}

0 comments on commit f29dc27

Please sign in to comment.