Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
Only update Dockerhub descriptions if it's not a PR
  • Loading branch information
pabloromeo authored Sep 7, 2021
1 parent 736388c commit 91377a5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ jobs:
tags: ${{ steps.meta_pms.outputs.tags }}
labels: ${{ steps.meta_pms.outputs.labels }}
- name: Docker Hub Description
if: github.event_name != 'pull_request'
uses: peter-evans/dockerhub-description@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
Expand Down Expand Up @@ -140,6 +141,7 @@ jobs:
tags: ${{ steps.meta_pms_dockermod.outputs.tags }}
labels: ${{ steps.meta_pms_dockermod.outputs.labels }}
- name: Docker Hub Description
if: github.event_name != 'pull_request'
uses: peter-evans/dockerhub-description@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
Expand Down Expand Up @@ -208,6 +210,7 @@ jobs:
tags: ${{ steps.meta_worker.outputs.tags }}
labels: ${{ steps.meta_worker.outputs.labels }}
- name: Docker Hub Description
if: github.event_name != 'pull_request'
uses: peter-evans/dockerhub-description@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
Expand Down Expand Up @@ -270,6 +273,7 @@ jobs:
tags: ${{ steps.meta_worker_dockermod.outputs.tags }}
labels: ${{ steps.meta_worker_dockermod.outputs.labels }}
- name: Docker Hub Description
if: github.event_name != 'pull_request'
uses: peter-evans/dockerhub-description@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
Expand Down Expand Up @@ -337,6 +341,7 @@ jobs:
tags: ${{ steps.meta_orchestrator.outputs.tags }}
labels: ${{ steps.meta_orchestrator.outputs.labels }}
- name: Docker Hub Description
if: github.event_name != 'pull_request'
uses: peter-evans/dockerhub-description@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
Expand Down

0 comments on commit 91377a5

Please sign in to comment.