{"id":15801361,"url":"https://github.com/dawitnida/packer-actions-demo","last_synced_at":"2025-06-25T03:33:51.994Z","repository":{"id":85632143,"uuid":"179459639","full_name":"dawitnida/packer-actions-demo","owner":"dawitnida","description":"Packer template collection","archived":false,"fork":false,"pushed_at":"2020-10-27T22:06:29.000Z","size":56,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-06T01:21:53.635Z","etag":null,"topics":["git","github","github-action","github-actions","hashicorp","packer","packer-template","packer-validate"],"latest_commit_sha":null,"homepage":null,"language":"HCL","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/dawitnida.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":"2019-04-04T08:53:04.000Z","updated_at":"2020-10-27T22:06:31.000Z","dependencies_parsed_at":"2023-03-09T16:45:14.916Z","dependency_job_id":null,"html_url":"https://github.com/dawitnida/packer-actions-demo","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/dawitnida/packer-actions-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dawitnida%2Fpacker-actions-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dawitnida%2Fpacker-actions-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dawitnida%2Fpacker-actions-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dawitnida%2Fpacker-actions-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dawitnida","download_url":"https://codeload.github.com/dawitnida/packer-actions-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dawitnida%2Fpacker-actions-demo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261798660,"owners_count":23211234,"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":["git","github","github-action","github-actions","hashicorp","packer","packer-template","packer-validate"],"created_at":"2024-10-05T01:21:58.541Z","updated_at":"2025-06-25T03:33:51.952Z","avatar_url":"https://github.com/dawitnida.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Packer GitHub Actions Tester\nPacker sample template collections for [Packer GitHub Actions][packer-gh-actions] testing.\n\n### Usage\n\nVariables \n\n- `PACKER_ACTION_WORKING_DIR` : Working directory\n- `TEMPLATE_FILE_NAME` : Packer template file\n- `ACTION_COMMENT` : Enable/Disable PR comment from validate result\n\n\n```\nworkflow \"packer validate docker-image-template\" {\n  resolves = \"packer-validate-docker-image-template\"\n  on = \"pull_request\"\n}\n\naction \"filter-open-synced-pr\" {\n  uses = \"actions/bin/filter@master\"\n  args = \"action 'opened|synchronize'\"\n}\n\naction \"packer-validate-docker-image-template\" {\n  uses = \"dawitnida/packer-github-actions/validate@master\"\n  needs = \"filter-open-synced-pr\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n  ]\n  env = {\n    TEMPLATE_FILE_NAME = \"*.json\"\n    PACKER_ACTION_WORKING_DIR = \"dockers\"\n  }\n}\n\nworkflow \"packer validate template-x with var-file\" {\n  resolves = \"packer-validate-template-x\"\n  on = \"pull_request\"\n}\n\naction \"packer-validate-template-x\" {\n  uses = \"dawitnida/packer-github-actions/validate@master\"\n  needs = \"filter-open-synced-pr\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n  ]\n  args = [\n    \"-var-file=global-vars.json\",\n  ]\n  env = {\n    TEMPLATE_FILE_NAME = \"packer-template-x.json\"\n  }\n}\n\nworkflow \"packer validate template-y without arg\" {\n  resolves = \"packer-validate-template-y\"\n  on = \"pull_request\"\n}\n\naction \"packer-validate-template-y\" {\n  uses = \"dawitnida/packer-github-actions/validate@master\"\n  needs = \"filter-open-synced-pr\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n  ]\n  env = {\n    TEMPLATE_FILE_NAME = \"packer-template-y.json\"\n  }\n}\n```\n\n## Author\n[Dawit Nida](https://github.com/dawitnida)\n\n[packer-gh-actions]: \u003chttps://github.com/dawitnida/packer-github-actions\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdawitnida%2Fpacker-actions-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdawitnida%2Fpacker-actions-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdawitnida%2Fpacker-actions-demo/lists"}