Find a file
Justin Chadwell f599d88d33 chore: fix multiline output
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-12-13 13:19:54 +00:00
.github/workflows chore: fix multiline output 2024-12-13 13:19:54 +00:00
action.yml chore: fix multiline output 2024-12-13 13:19:54 +00:00
LICENSE update dagger 0.9.3 2023-11-14 11:31:05 -08:00
README.md chore: bump default dagger version to v0.13.7 2024-10-31 23:12:00 -07:00

GitHub action to run Dagger

Usage Examples

dagger call (default)

- name: Hello
  uses: dagger/dagger-for-github@v6
  with:
    verb: call
    module: github.com/shykes/daggerverse/hello
    args: hello --greeting Hola --name Jeremy
    cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }}

dagger run

- name: Integration Test
  uses: dagger/dagger-for-github@v6
  with:
    workdir: db-service
    verb: run
    args: node build.js
    cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }}
    version: "0.13.7"

Staying in sync with the latest version

By setting the version to latest, this action will install the latest version of Dagger.

All with: input parameter options

Key Description Required Default
version Dagger Version false '0.13.7'
commit Dagger Dev Commit (overrides version) false ''
dagger-flags Dagger CLI Flags false '--progress plain'
verb CLI verb (call, run, download, up, functions, shell, query) false 'call'
workdir The working directory in which to run the Dagger CLI false '.'
cloud-token Dagger Cloud Token false ''
module Dagger module to call. Local or Git false ''
args Arguments to pass to CLI false ''
engine-stop Whether to stop the Dagger Engine after this run false 'true'