Skip to content

Commit

Permalink
chore(dockerhub): update description on release (#921)
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenvechain authored Dec 17, 2024
1 parent dcea741 commit 1a8ab07
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/publish-docker-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,15 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

- name: Update Docker Hub
# official documentation docker: https://docs.docker.com/build/ci/github-actions/update-dockerhub-desc/
if: ${{ inputs.environment == 'docker-publish' && github.event_name != 'pull_request' }}
uses: peter-evans/dockerhub-description@v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
repository: ${{ github.repository }}

- name: Scan for vulnerabilities
uses: crazy-max/ghaction-container-scan@v3
if: ${{ github.event_name == 'pull_request' || github.ref_name == 'master' }}
Expand Down

0 comments on commit 1a8ab07

Please sign in to comment.