{"id":15288860,"url":"https://github.com/dani8art/grunt-dockerize","last_synced_at":"2026-01-06T04:06:08.679Z","repository":{"id":57254969,"uuid":"80859866","full_name":"dani8art/grunt-dockerize","owner":"dani8art","description":"Task plugin for grunt that builds and pushs docker images.","archived":false,"fork":false,"pushed_at":"2017-02-18T16:54:53.000Z","size":26,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T05:44:46.017Z","etag":null,"topics":["docker","docker-image","gruntplugin","nodejs"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dani8art.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-03T19:01:16.000Z","updated_at":"2017-03-20T18:05:39.000Z","dependencies_parsed_at":"2022-08-31T08:21:28.250Z","dependency_job_id":null,"html_url":"https://github.com/dani8art/grunt-dockerize","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/dani8art/grunt-dockerize","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dani8art%2Fgrunt-dockerize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dani8art%2Fgrunt-dockerize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dani8art%2Fgrunt-dockerize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dani8art%2Fgrunt-dockerize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dani8art","download_url":"https://codeload.github.com/dani8art/grunt-dockerize/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dani8art%2Fgrunt-dockerize/sbom","scorecard":{"id":319085,"data":{"date":"2025-08-11","repo":{"name":"github.com/dani8art/grunt-dockerize","commit":"760564e2204381a359a68cd6bfade4a020c8a71f"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"Code-Review","score":0,"reason":"Found 0/7 approved changesets -- score normalized to 0","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":"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.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":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating node:6.1 to node:6.1@sha256:c0154518cc48b2f74d6897e8601193a186dbccebd65705fb4e7a6f90c89d460b","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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 7 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-18T00:56:52.689Z","repository_id":57254969,"created_at":"2025-08-18T00:56:52.689Z","updated_at":"2025-08-18T00:56:52.689Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28221549,"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","status":"online","status_checked_at":"2026-01-06T02:00:07.049Z","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"}},"keywords":["docker","docker-image","gruntplugin","nodejs"],"created_at":"2024-09-30T15:53:52.267Z","updated_at":"2026-01-06T04:06:08.662Z","avatar_url":"https://github.com/dani8art.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# grunt-dockerize\n\n\u003e Task plugin for grunt that builds and pushs docker images.\n\n## Getting Started\nThis plugin requires Grunt `^1.0.1`\n\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\n\n```shell\nnpm install grunt-dockerize --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-dockerize');\n```\n\n## The \"grunt-dockerize\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `dockerize` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  dockerize: {\n      image01: {\n        options: {\n          auth: {\n            email: \"DOCKER_HUB_EMAIL\",\n            username: \"DOCKER_HUB_USERNAME\",\n            password: \"DOCKER_HUB_PASSWORD\"\n          },\n          name: 'image01',\n          push: true\n        }\n      },\n});\n```\n\n### Options\n\n```js \n{\n    registry: 'https://registry.hub.docker.com', //NOT SUPPORTED YET\n    auth: {\n      email: 'DOCKER_HUB_EMAIL',\n      username: 'DOCKER_HUB_USERNAME',\n      password: 'DOCKER_HUB_PASSWORD'\n    },\n    name: this.target,\n    push: false,\n    tag: 'latest'\n}\n```\n\n#### options.auth\n`options.auth` contains the name of evironment variables that will be used for logging\nin docker hub. Also, `auth.username` will be used for build the name of docker image,\n `auth.username/options.name` = `darteaga/image01`\n\n Name | Type | Description\n -----|------|------------\n email| `String`| **Required**. The name of evironment variable that contains the value of email. By default, its value is DOCKER_HUB_EMAIL and `grunt-dockerize` will expect a value on process.env[\"DOCKER_HUB_EMAIL\"].\n username | `String` | **Required**. The name of evironment variable that contains the value of username. By default, its value is DOCKER_HUB_USERNAME and `grunt-dockerize` will expect a value on process.env[\"DOCKER_HUB_USERNAME\"].\n password | `String` | **Required**. The name of evironment variable that contains the value of password. By default, its value is DOCKER_HUB_PASSWORD and `grunt-dockerize` will expect a value on process.env[\"DOCKER_HUB_PASSWORD\"].\n\n**Example**: \n\n```js\nauth: {\n    email: \"DOCKER_HUB_EMAIL\",\n    username: \"DOCKER_HUB_USERNAME\",\n    password: \"DOCKER_HUB_PASSWORD\"\n  }\n```\n\n#### options.name\n\nName | Type | Description\n-----|------|-------------\nname | `String`| **Required**.  A string value that will be used such as the image name. By default, It is used `this.target`.\n\n\n\n#### options.push\n\nName | Type | Description\n-----|------|-------------\npush | `Boolean`| **Required**. A boolean value that is used to decide if the built image is pushed. By befault, it is `false`.\n\n\n#### options.tag\n\nName | Type | Description\n-----|------|-------------\ntag | `String`| **Required**. A string value that is used for the image tag. By befault, it is `latest`.\n\n### Usage Examples\n\n#### Custom Options\nIn this example, custom options are used to build an push a docker image\n\n\u003e **WARNING**. Remember that you must have a 'Dockerfile' in current directory.\n\n```js\ngrunt.initConfig({\n  dockerize: {\n    image01: {\n      options: {\n        auth: {\n          email: \"DOCKER_HUB_EMAIL\",\n          username: \"DOCKER_HUB_USERNAME\",\n          password: \"DOCKER_HUB_PASSWORD\"\n        },\n        name: 'image01',\n        push: true\n      }\n    },\n});\n```\n\nRun:\n\n```js\ngrunt dockerize\n```\n\n## Contributing\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).\n\n### Latest release\n\nThe version 0.0.2 is the latest stable version of grunt-dockerize component.\nsee [release note](https://github.com/dani8art/grunt-dockerize/releases/tag/0.0.2) for details.\n\nFor running:\n\n- Download latest version from [0.0.2](https://github.com/dani8art/grunt-dockerize/releases/tag/0.0.2)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdani8art%2Fgrunt-dockerize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdani8art%2Fgrunt-dockerize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdani8art%2Fgrunt-dockerize/lists"}