{"id":5805768,"name":"snaplet/publish-postgres-with-data-docker-action","ecosystem":"actions","description":"Creates a Postgres Docker Image, with data from a Snaplet snapshot, for restoration in Codespaces, development environments.","homepage":null,"licenses":null,"normalized_licenses":[],"repository_url":"https://github.com/snaplet/publish-postgres-with-data-docker-action","keywords_array":[],"namespace":"snaplet","versions_count":3,"first_release_published_at":"2021-09-03T09:33:28.000Z","latest_release_published_at":"2023-06-12T06:21:12.000Z","latest_release_number":"v1.0.0","latest_published_release_number":null,"last_synced_at":"2026-10-19T12:37:30.015Z","created_at":"2023-01-04T15:44:08.451Z","updated_at":"2026-10-19T12:37:30.015Z","registry_url":"https://github.com/snaplet/publish-postgres-with-data-docker-action","install_command":null,"documentation_url":null,"metadata":{"name":"Postgres Docker image with \"baked-in\" data","author":"Snaplet, Inc.","description":"Creates a Postgres Docker Image, with data from a Snaplet snapshot, for restoration in Codespaces, development environments.","inputs":{"docker-container-name":{"description":"Name of docker database container","required":true,"type":"string"},"docker-image-tag":{"description":"Tag for docker image","required":true,"type":"string"},"snaplet-database-url":{"description":"Connection string to restore a snapshot","required":true,"type":"string"},"snaplet-restore-command":{"description":"Command used to restore a snapshot","required":false,"type":"string","default":"snaplet snapshot restore --latest"}},"runs":{"using":"composite","steps":[{"name":"Install Snaplet","run":"curl -sS \"https://app.snaplet.dev/get-cli/\" | bash \u0026\u003e \"/dev/null\"\necho \"$HOME/.local/bin\" \u003e\u003e \"$GITHUB_PATH\"\n","shell":"bash"},{"name":"Restore snapshot","run":"${{ inputs.snaplet-restore-command }}","shell":"bash","env":{"SNAPLET_TARGET_DATABASE_URL":"${{ inputs.snaplet-database-url }}"}},{"name":"Commit and push Docker image","run":"docker commit ${{ inputs.docker-container-name }} ${{ inputs.docker-image-tag }}\ndocker push ${{ inputs.docker-image-tag }}\n","shell":"bash"}]},"default_branch":"main","path":null},"repo_metadata":{"id":59980978,"uuid":"402361181","full_name":"snaplet/publish-postgres-with-data-docker-action","owner":"snaplet","description":"Postgres Docker image with \"baked-in\" data","archived":true,"fork":false,"pushed_at":"2023-06-12T06:21:27.000Z","size":38,"stargazers_count":13,"open_issues_count":0,"forks_count":4,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-09-09T11:47:05.707Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/snaplet.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}},"created_at":"2021-09-02T09:21:18.000Z","updated_at":"2026-06-19T04:58:57.000Z","dependencies_parsed_at":"2023-01-11T17:23:31.262Z","dependency_job_id":null,"html_url":"https://github.com/snaplet/publish-postgres-with-data-docker-action","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"f9ddcb15a3337093d0bbf4ffc30c5d96861a5ece"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/snaplet/publish-postgres-with-data-docker-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snaplet%2Fpublish-postgres-with-data-docker-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snaplet%2Fpublish-postgres-with-data-docker-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snaplet%2Fpublish-postgres-with-data-docker-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snaplet%2Fpublish-postgres-with-data-docker-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/snaplet","download_url":"https://codeload.github.com/snaplet/publish-postgres-with-data-docker-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snaplet%2Fpublish-postgres-with-data-docker-action/sbom","scorecard":{"id":834270,"data":{"date":"2025-08-11","repo":{"name":"github.com/snaplet/publish-postgres-with-data-docker-action","commit":"6b93fedc6f8152823fda26d1fe10330ae94299d1"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":2,"reason":"Found 2/10 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/snaplet-restore.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/snaplet-restore.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/snaplet/publish-postgres-with-data-docker-action/snaplet-restore.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/snaplet-restore.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/snaplet/publish-postgres-with-data-docker-action/snaplet-restore.yml/main?enable=pin","Warn: containerImage not pinned by hash: .devcontainer/Dockerfile:3","Warn: downloadThenRun not pinned by hash: .devcontainer/Dockerfile:14-16","Warn: downloadThenRun not pinned by hash: .devcontainer/Dockerfile:47","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   2 downloadThenRun dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 13 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-23T18:33:26.020Z","repository_id":59980978,"created_at":"2025-08-23T18:33:26.020Z","updated_at":"2025-08-23T18:33:26.020Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":341189360,"owners_count":37220989,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-09-11T02:00:05.857Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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"},"owner_record":{"login":"snaplet","name":"Snaplet","uuid":"69029941","kind":"organization","description":"Seed your Postgres database with production-like data so you can code, debug, and test with ease","email":"peter.pistorius@gmail.com","website":"https://snaplet.dev","location":"South Africa","twitter":"_snaplet","company":null,"icon_url":"https://avatars.githubusercontent.com/u/69029941?v=4","repositories_count":18,"last_synced_at":"2026-09-09T11:41:44.696Z","metadata":{"has_sponsors_listing":false,"funding":null},"html_url":"https://github.com/snaplet","funding_links":[],"total_stars":2522,"followers":133,"following":0,"created_at":"2022-11-14T06:44:53.911Z","updated_at":"2026-09-09T11:41:44.801Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/snaplet","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/snaplet/repositories"},"tags":[{"name":"v1.0.0","sha":"b8dbafd7138e097cc39f342e1e9f7744aefc6865","kind":"commit","published_at":"2023-05-05T14:25:50.000Z","download_url":"https://codeload.github.com/snaplet/publish-postgres-with-data-docker-action/tar.gz/v1.0.0","html_url":"https://github.com/snaplet/publish-postgres-with-data-docker-action/releases/tag/v1.0.0","dependencies_parsed_at":"2023-06-02T00:59:32.982Z","dependency_job_id":null,"purl":"pkg:github/snaplet/publish-postgres-with-data-docker-action@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snaplet%2Fpublish-postgres-with-data-docker-action/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snaplet%2Fpublish-postgres-with-data-docker-action/tags/v1.0.0/manifests"},{"name":"v0.0.2","sha":"f9ddcb15a3337093d0bbf4ffc30c5d96861a5ece","kind":"commit","published_at":"2021-09-03T10:40:49.000Z","download_url":"https://codeload.github.com/snaplet/publish-postgres-with-data-docker-action/tar.gz/v0.0.2","html_url":"https://github.com/snaplet/publish-postgres-with-data-docker-action/releases/tag/v0.0.2","dependencies_parsed_at":"2023-05-31T13:46:39.148Z","dependency_job_id":null,"purl":"pkg:github/snaplet/publish-postgres-with-data-docker-action@v0.0.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snaplet%2Fpublish-postgres-with-data-docker-action/tags/v0.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snaplet%2Fpublish-postgres-with-data-docker-action/tags/v0.0.2/manifests"},{"name":"v0.0.1","sha":"a84db20d602471d852abc2630e912f7c6d8f7b0e","kind":"commit","published_at":"2021-09-03T09:33:28.000Z","download_url":"https://codeload.github.com/snaplet/publish-postgres-with-data-docker-action/tar.gz/v0.0.1","html_url":"https://github.com/snaplet/publish-postgres-with-data-docker-action/releases/tag/v0.0.1","dependencies_parsed_at":"2023-05-31T13:46:40.005Z","dependency_job_id":null,"purl":"pkg:github/snaplet/publish-postgres-with-data-docker-action@v0.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snaplet%2Fpublish-postgres-with-data-docker-action/tags/v0.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snaplet%2Fpublish-postgres-with-data-docker-action/tags/v0.0.1/manifests"}]},"repo_metadata_updated_at":"2026-09-11T15:50:34.775Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":42.858974907023466,"dependent_packages_count":0.0,"stargazers_count":14.200829307912624,"forks_count":18.107981019963237,"average":18.79194630872483},"purl":"pkg:githubactions/snaplet/publish-postgres-with-data-docker-action","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/actions/snaplet/publish-postgres-with-data-docker-action","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/actions/snaplet/publish-postgres-with-data-docker-action","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/actions/snaplet/publish-postgres-with-data-docker-action/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2023-08-09T09:33:08.832Z","issues_count":1,"pull_requests_count":2,"avg_time_to_close_issue":58263142.0,"avg_time_to_close_pull_request":132748.5,"issues_closed_count":1,"pull_requests_closed_count":2,"pull_request_authors_count":1,"issue_authors_count":1,"avg_comments_per_issue":1.0,"avg_comments_per_pull_request":2.5,"merged_pull_requests_count":2,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":2,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":132748.5,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":2,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":2.5,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":2,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/snaplet%2Fpublish-postgres-with-data-docker-action/issues","maintainers":[{"login":"peterp","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/peterp"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/snaplet%2Fpublish-postgres-with-data-docker-action/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/snaplet%2Fpublish-postgres-with-data-docker-action/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/snaplet%2Fpublish-postgres-with-data-docker-action/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/snaplet%2Fpublish-postgres-with-data-docker-action/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/snaplet%2Fpublish-postgres-with-data-docker-action/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/snaplet%2Fpublish-postgres-with-data-docker-action/codemeta","maintainers":[]}