Skip to content

Commit

Permalink
Try updating docker hub desc
Browse files Browse the repository at this point in the history
  • Loading branch information
leojonathanoh committed Jan 27, 2023
1 parent dc6bc44 commit 756a441
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci-master-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2783,7 +2783,7 @@ jobs:

update-dockerhub-description:
needs: [build-3-12-curl-git-jq-ssh, build-3-12-curl-mysqlclient-openssl, build-3-12-iptables, build-3-12-rsync, build-3-11-curl-git-jq-ssh, build-3-11-curl-mysqlclient-openssl, build-3-11-iptables, build-3-11-rsync, build-3-10-curl-git-jq-ssh, build-3-10-curl-mysqlclient-openssl, build-3-10-iptables, build-3-10-rsync, build-3-9-curl-git-jq-ssh, build-3-9-curl-mysqlclient-openssl, build-3-9-iptables, build-3-9-rsync, build-3-8-curl-git-jq-ssh, build-3-8-curl-mysqlclient-openssl, build-3-8-iptables, build-3-8-rsync]
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
if: github.event_name == 'pull_request' || github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -2794,3 +2794,6 @@ jobs:
password: ${{ secrets.DOCKERHUB_REGISTRY_PASSWORD }}
repository: peterevans/dockerhub-description
short-description: ${{ github.event.repository.description }}
env:
DOCKERHUB_REGISTRY_USER: ${{ secrets.DOCKERHUB_REGISTRY_USER }}
DOCKERHUB_REGISTRY_PASSWORD: ${{ secrets.DOCKERHUB_REGISTRY_PASSWORD }}
5 changes: 4 additions & 1 deletion generate/templates/.github/workflows/ci-master-pr.yml.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ if ( $_['tag_as_latest'] ) {
update-dockerhub-description:
needs: [$( $local:WORKFLOW_JOB_NAMES -join ', ' )]
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
if: github.event_name == 'pull_request' || github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -237,5 +237,8 @@ if ( $_['tag_as_latest'] ) {
password: `${{ secrets.DOCKERHUB_REGISTRY_PASSWORD }}
repository: peterevans/dockerhub-description
short-description: `${{ github.event.repository.description }}
env:
DOCKERHUB_REGISTRY_USER: `${{ secrets.DOCKERHUB_REGISTRY_USER }}
DOCKERHUB_REGISTRY_PASSWORD: `${{ secrets.DOCKERHUB_REGISTRY_PASSWORD }}
"@

0 comments on commit 756a441

Please sign in to comment.