Skip to content

Setup Hashicorp Nomad binary & nomad-pack to $PATH

License

Notifications You must be signed in to change notification settings

rluisr/nomad-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nomad-actions

Only install/setup Nomad client and nomad-pack.

Usage

steps:
  - name: Setup Nomad
    uses: rluisr/nomad-actions@master

  - name: Deploy
    run: |
      nomad job run job.hcl
      # or nomad-pack run .
    env:
      NOMAD_ADDR: "https://nomad.nomad"
      NOMAD_HTTP_AUTH: "basic:auth"
    # See about environment variables https://www.nomadproject.io/docs/commands

Params

Name Required Description
nomad_version no If empty, used latest version

IMPORTANT NOTICE

nomad-pack is under the preview and we can not download specified version binary.
This actions now download 0.1.1.dev

Locally test

$ act