datasektionen/Deploy Job to Nomad
Deploys an application to Datasektionen's Nomad environment.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | Token to log into GitHub container registry with | yes | — |
| nomad-token | Nomad Deploy token authorized to issue this deployment | yes | — |
| nomad-addr | Nomad server address at where to deploy the job | yes | — |
| job-file-path | Path to file containing Nomad job spec for this application | — | job.nomad.hcl |
| package-variant | Suffix for package name, if any (e.g., `dev` in `repo-dev`) | — | "" |
| image-tag | The ghcr.io tag to release under (e.g., latest or preview) | — | latest |
| build-vars | String of environment variables to pass to build stage | — | "" |
| build-context | Primary directory where the Dockerfile resides | — | . |
| build-dockerfile | Path to the Dockerfile relative to the repository root | — | Dockerfile |
| build-platforms | Comma-separated list of Docker platforms to build for | — | linux/amd64 |
| skip-deploy | Whether to skip deploying the Nomad job (just build & push) | — | false |
| deploy-image-ref-var | Name for job variable with image ref when passing to Nomad | — | image_tag |
| deploy-args | String of extra arguments to pass to `nomad run` command | — | "" |
| nomad-version | Hashicorp Nomad version to download and use (leave default) | — | 1.8.4 |
Outputs
| name | description |
|---|---|
| built-image-ref | Full Docker image reference (name:tag) as built and pushed |