{"id":18417304,"url":"https://github.com/nelsondane/custom-github-actions","last_synced_at":"2026-01-07T22:03:10.979Z","repository":{"id":63398359,"uuid":"533082837","full_name":"NelsonDane/Custom-GitHub-Actions","owner":"NelsonDane","description":"Reusable GitHub Workflows for automatic formatting/building/deploying and more!","archived":false,"fork":false,"pushed_at":"2024-07-15T00:42:49.000Z","size":54,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-24T05:04:14.324Z","etag":null,"topics":["action","actions","automation","docker","dockerhub","dockerhub-description","github-actions","github-actions-docker","reusable-workflows"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NelsonDane.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-05T22:47:43.000Z","updated_at":"2024-10-03T17:02:23.000Z","dependencies_parsed_at":"2024-05-01T03:40:53.148Z","dependency_job_id":"e8975f03-9a22-4689-9f19-7b8d77a8b4f6","html_url":"https://github.com/NelsonDane/Custom-GitHub-Actions","commit_stats":null,"previous_names":["nelsondane/custom-github-actions"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NelsonDane%2FCustom-GitHub-Actions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NelsonDane%2FCustom-GitHub-Actions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NelsonDane%2FCustom-GitHub-Actions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NelsonDane%2FCustom-GitHub-Actions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NelsonDane","download_url":"https://codeload.github.com/NelsonDane/Custom-GitHub-Actions/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231129038,"owners_count":18332185,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["action","actions","automation","docker","dockerhub","dockerhub-description","github-actions","github-actions-docker","reusable-workflows"],"created_at":"2024-11-06T04:08:56.459Z","updated_at":"2026-01-07T22:03:05.932Z","avatar_url":"https://github.com/NelsonDane.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Custom-GitHub-Actions\nPersonal GitHub Actions for Docker Containers and Code Formatting\n\n## How to use (for future self)\n\n### Docker Registry Build and Push\nAutomatically builds and pushes images to Docker Hub.\n\nRequired Inputs:\n- `image_name`: (name of image)\n\nOptional Inputs:\n- `registry`: (defaults to `docker.io`)\n- `context`: (defaults to `.`)\n- `dockerfile`: (defaults to `Dockerfile`)\n- `platforms`: (defaults to `linux/amd64,linux/arm64,linux/arm/v7`)\n- `image_tag`: (defaults to `latest`)\n- `should_push`: (defaults to `false`)\n\nOptional Secrets:\n- `DOCKER_REGISTRY_USERNAME`\n- `DOCKER_REGISTRY_PASSWORD`\n\nMinimal Config (Only builds, does not push):\n```yaml\njobs:\n  call-dockerhub-action:\n    uses: NelsonDane/Cusotm-GitHub-Actions/.github/workflows/docker-registry-build-push.yml@main\n    with:\n      image_name: name of image\n```\n\nExample Config:\n```yaml\njobs:\n  call-dockerhub-action:\n    uses: NelsonDane/Cusotm-GitHub-Actions/.github/workflows/docker-registry-build-push.yml@main\n    with:\n      image_name: name of image\n      platforms: (optional, comma-seperated with no spaces)\n      image_tag: (optional)\n      should_push: (optional)\n    secrets:\n      DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}\n      DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}\n```\n\n### Auto Update Docker Hub README/Description\nAutomatically updates the Docker Hub README/Description with the contents of the README.md file in the GitHub repo.\n\nRequired Inputs:\n- `image_name`\n\nRequired Secrets:\n- `DOCKERHUB_USERNAME`\n- `DOCKERHUB_PASSWORD`\n\nExample Config:\n```yaml\njobs:\n  call-dockerhub-action:\n    uses: NelsonDane/Cusotm-GitHub-Actions/.github/workflows/dockerhub-description.yml@main\n    with:\n      image_name: (name of image)\n    secrets:\n      DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}\n      DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}\n```\n\n### Format Python Code with Black\nAutomatically formats Python code with Black.\n\nOptional Inputs:\n- `black_command`: (defaults to `black .`)\n\nExample Config:\n```yaml\njobs:\n  call-dockerhub-action:\n    uses: NelsonDane/Cusotm-GitHub-Actions/.github/workflows/python-black-formatter.yml@main\n    with:\n      black_command: (optional)\n```\n\n### Format Python Imports with isort\nAutomatically formats Python imports with isort and removes unused imports.\n\nOptional Inputs:\n- `isort_command`: (defaults to `isort .`)\n\nExample Config:\n```yaml\njobs:\n  call-dockerhub-action:\n    uses: NelsonDane/Cusotm-GitHub-Actions/.github/workflows/python-isort-formatter.yml@main\n    with:\n      isort_command: (optional)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnelsondane%2Fcustom-github-actions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnelsondane%2Fcustom-github-actions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnelsondane%2Fcustom-github-actions/lists"}