Skip to content

Commit

Permalink
[skip ci] set docker push to tag event only
Browse files Browse the repository at this point in the history
  • Loading branch information
mansuf committed Jun 6, 2024
1 parent 749d311 commit 9857858
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
docker run --rm ${{ env.TEST_TAG }}
- name: Update Docker Hub description
# if: startsWith(github.ref, 'refs/tags/') && github.repository == 'mansuf/mangadex-downloader'
if: startsWith(github.ref, 'refs/tags/') && github.repository == 'mansuf/mangadex-downloader'
uses: peter-evans/dockerhub-description@v4
with:
username: ${{ secrets.DOCKER_USERNAME }}
Expand All @@ -51,7 +51,7 @@ jobs:
short-description: ${{ github.event.repository.description }}

- name: Build and push
# if: startsWith(github.ref, 'refs/tags/') && github.repository == 'mansuf/mangadex-downloader'
if: startsWith(github.ref, 'refs/tags/') && github.repository == 'mansuf/mangadex-downloader'
uses: docker/build-push-action@v5
with:
context: .
Expand All @@ -63,7 +63,6 @@ jobs:
tags: |
${{ env.LATEST_TAG }}
mansuf/mangadex-downloader:${{ github.ref_name }}
mansuf/mangadex-downloader:v2.10.3
windows-build:
name: Build app & docs (Windows)
Expand Down

0 comments on commit 9857858

Please sign in to comment.