Skip to content

Commit

Permalink
Let's just forget about updating description in docker hub for a moment
Browse files Browse the repository at this point in the history
because the docker image is not exist, why would you update it if it's not exist ? ROFL
  • Loading branch information
mansuf committed Jun 5, 2024
1 parent 7e584cf commit 6c191cf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ env:

jobs:
docker:
name: Docker build
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down Expand Up @@ -40,14 +41,14 @@ jobs:
run: |
docker run --rm ${{ env.TEST_TAG }}
- name: Update Docker Hub description
# if: startsWith(github.ref, 'refs/tags/') && github.repository == 'mansuf/mangadex-downloader'
uses: peter-evans/dockerhub-description@v4
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_SECRET_TOKEN }}
repository: mansuf/mangadex-downloader
short-description: ${{ github.event.repository.description }}
# - name: Update Docker Hub description
# # if: startsWith(github.ref, 'refs/tags/') && github.repository == 'mansuf/mangadex-downloader'
# uses: peter-evans/dockerhub-description@v4
# with:
# username: ${{ secrets.DOCKER_USERNAME }}
# password: ${{ secrets.DOCKER_SECRET_TOKEN }}
# repository: mansuf/mangadex-downloader
# short-description: ${{ github.event.repository.description }}

- name: Build and push
# if: startsWith(github.ref, 'refs/tags/') && github.repository == 'mansuf/mangadex-downloader'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ env:

jobs:
docker:
name: Docker build
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down

0 comments on commit 6c191cf

Please sign in to comment.