p6m-actions/JavaScript PNPM Docker Build and Publish
Builds and publishes a Docker image for a JavaScript application
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| project-path | Relative path to the project directory containing package.json (must not contain '..' or be absolute) | no | . |
| platforms | The platforms to build for (comma-separated) | no | linux/amd64,linux/arm64 |
| image-name | The name for the Docker image (defaults to repository name) | no | "" |
| app-name | Deprecated: Use 'image-name' instead. Alias for backward compatibility. | no | "" |
| version | The version to use for the Docker image (defaults to version from package.json) | no | "" |
| tag-latest | Whether to also tag the image as 'latest' | no | true |
| dockerfile | Path to the Dockerfile | no | Dockerfile |
| context | Docker build context | no | . |
| registry | Docker registry URL | yes | — |
Outputs
| name | description |
|---|---|
| image-digest | The digest of the built Docker image |
| image-name | The full name of the built image (with version tag) |
| version | The version used for tagging the image |