{"id":13929087,"url":"https://github.com/project-stacker/stacker-build-push-action","last_synced_at":"2026-01-18T03:24:09.372Z","repository":{"id":41863942,"uuid":"476351493","full_name":"project-stacker/stacker-build-push-action","owner":"project-stacker","description":"GitHub Action to build and push OCI images with project-stacker/stacker","archived":false,"fork":false,"pushed_at":"2023-11-21T19:09:59.000Z","size":39,"stargazers_count":20,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-28T02:52:30.897Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/project-stacker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-03-31T14:50:51.000Z","updated_at":"2025-09-02T14:44:44.000Z","dependencies_parsed_at":"2023-11-21T19:25:50.724Z","dependency_job_id":"c107c801-eb1f-4294-84b2-25187a778395","html_url":"https://github.com/project-stacker/stacker-build-push-action","commit_stats":{"total_commits":10,"total_committers":5,"mean_commits":2.0,"dds":0.5,"last_synced_commit":"124d166f0fbaf3b69c2ee46825c8008dd2d1d1cd"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/project-stacker/stacker-build-push-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-stacker%2Fstacker-build-push-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-stacker%2Fstacker-build-push-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-stacker%2Fstacker-build-push-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-stacker%2Fstacker-build-push-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/project-stacker","download_url":"https://codeload.github.com/project-stacker/stacker-build-push-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-stacker%2Fstacker-build-push-action/sbom","scorecard":{"id":746380,"data":{"date":"2025-08-11","repo":{"name":"github.com/project-stacker/stacker-build-push-action","commit":"093acb5ad50bed0012616f46fdba73a8a7169db7"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yaml: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":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":4,"reason":"Found 5/12 approved changesets -- score normalized to 4","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":"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":"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":"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":"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/ci.yaml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/project-stacker/stacker-build-push-action/ci.yaml/main?enable=pin","Warn: containerImage not pinned by hash: test/Dockerfile:1: pin your Docker image by updating alpine:3.16 to alpine:3.16@sha256:452e7292acee0ee16c332324d7de05fa2c99f9994ecc9f0779c602916a672ae4","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 containerImage 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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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 9 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"}},{"name":"Vulnerabilities","score":1,"reason":"9 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-7r3h-m5j6-3q42","Warn: Project is vulnerable to: GHSA-h5c3-5r3r-rr8q","Warn: Project is vulnerable to: GHSA-rmvr-2pp2-xj38","Warn: Project is vulnerable to: GHSA-xx4v-prfh-6cgc","Warn: Project is vulnerable to: GHSA-pwfr-8pq7-x9qv","Warn: Project is vulnerable to: GHSA-8cf7-32gw-wr33","Warn: Project is vulnerable to: GHSA-hjrf-2m68-5959","Warn: Project is vulnerable to: GHSA-qwph-4952-7xr6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T18:53:58.146Z","repository_id":41863942,"created_at":"2025-08-22T18:53:58.146Z","updated_at":"2025-08-22T18:53:58.146Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28528038,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"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"}},"keywords":[],"created_at":"2024-08-07T18:02:06.399Z","updated_at":"2026-01-18T03:24:09.339Z","avatar_url":"https://github.com/project-stacker.png","language":"TypeScript","funding_links":[],"categories":["others"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://github.com/project-stacker/assets/blob/main/images/logo/stacker-logo-text.png\" alt=\"stacker\" height=\"130\"/\u003e\n\u003c/p\u003e\n\n# Stacker Build and Push Action\n# [![ci](https://github.com/project-stacker/stacker-build-push-action/actions/workflows/ci.yaml/badge.svg?branch=main)](https://github.com/project-stacker/stacker-build-push-action/actions)\n\n```stacker-build-push-action``` natively builds OCI container images via a declarative yaml format using [`stacker`](https://github.com/project-stacker/stacker) and publishes them to OCI conformant registries.\n\n\nFor more information about stacker tool see: https://github.com/project-stacker/stacker\n\n## Action Inputs\n\n\u003ca id=\"build-inputs\"\u003e\u003c/a\u003e\n\n| Input Name | Type |  Description | Default |\n| ---------- | ---- |----------- | ------- |\n| file | string | path to yaml file to be built as an OCI image, example: [stacker.yaml](./test/stacker.yaml)  | stacker.yaml\n| dockerfile| string | path to dockerfile to be build as an OCI image(instead of stacker.yaml) | None \n| cache-dir | string | stacker's cache directory | ./.stacker\n| dir  | string | directory under which to recursive search for stackerfiles to build, use either file or dir | None\n| file-pattern| string | regex pattern to use when searching for stackerfile paths, used only with dir arg | \\\\/stacker.yaml$\n| layer-type | list | output layer type (supported values: tar, squashfs), ca be both separated by whitespace | tar\n| build-args | list | the list of build-time arguments (subtitutes) separated by newline FOO=bar format, see [stacker.yaml doc](https://github.com/project-stacker/stacker/blob/master/doc/stacker_yaml.md) | None\n| build-args-file | string | path to yaml file where build-args are set 'FOO: bar' yaml format | None\n| url | string | remote OCI registry + repo name eg: docker://ghcr.io/project-stacker/ | None\n| tags | list | one or more tags to give the new image, separated by whitespace | None\n| username | string | used to login to registry | None\n| password | string | used to login to registry | None\n| skip-tls | bool | used with unsecure (http) registries | false\n| token    | string | github token used to authenticate against a repository for Git context | ${{ github.token }}\n| version | string | stacker version, see [stacker releases](https://github.com/project-stacker/stacker/releases) | v1.0.0-rc8\n\n\n\nBuild only example:\n\n```\n- name: Run stacker-build\n  uses: project-stacker/stacker-build-push-action@main\n  with:\n    file: 'test/stacker.yaml'\n    build-args: |\n      SUB1=VAR1\n      SUB2=VAR2\n      SUB3=VAR3\n    layer-type: 'tar squashfs'\n```\n\n\nPublish url is built according to the next logic:\n```\ninput.url + stacker.yaml container name + : + input.tag\n```\n\nBuild and push example to ghcr.io:\n\n```\n- name: Run stacker-build\n  uses: project-stacker/stacker-build-push-action@main\n  with:\n    file: 'test/stacker.yaml'\n    build-args: |\n      SUB1=VAR1\n      SUB2=VAR2\n      SUB3=VAR3\n    layer-type: 'tar squashfs'\n    tags: ${{ github.event.release.tag_name }} latest\n    url: docker://ghcr.io/${{ github.repository }}\n    username: ${{ github.actor }}\n    password: ${{ secrets.GITHUB_TOKEN }}\n```\n\nThe above action will build test/stacker.yaml and push it to\n1. docker://ghcr.io/project-stacker/stacker/test:latest\n2. docker://ghcr.io/project-stacker/stacker/test:${{ github.event.release.tag_name }}\n\nBuild and push example to localhost:\n\n```\n- name: Run stacker-build\n  uses: project-stacker/stacker-build-push-action@main\n  with:\n    file: 'test/stacker.yaml'\n    build-args: |\n      SUB1=VAR1\n      SUB2=VAR2\n      SUB3=VAR3\n    layer-type: 'tar squashfs'\n    url: docker://localhost:5000\n    skip-tls: true\n    tags: test\n```\n\nThe above action will build test/stacker.yaml and push it to\n1. docker://localhost:5000/test:test\n\n\nBuild and push a Dockerfile:\n\n```\n- name: Run stacker-build with a Dockerfile\n  uses: ./\n  with:\n    dockerfile: 'test/Dockerfile.yaml'\n    tags: v1 latest\n    url: docker://localhost:5000/four/app\n    layer-type: 'tar squashfs'\n    skip-tls: true\n```\n\n\nBuild recursively all stacker files under dir/ and push all:\n\n```\n- name: Run stacker recursive-build\n  uses: ./\n  with:\n    dir: 'test/builds'\n    tags: v2\n    url: docker://localhost:5000/five/app\n    layer-type: 'tar squashfs'\n    skip-tls: true\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproject-stacker%2Fstacker-build-push-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fproject-stacker%2Fstacker-build-push-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproject-stacker%2Fstacker-build-push-action/lists"}