Find a file
Marcos Lilljedahl b7d1e6beb9
don't fail if the engine is not running
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2023-12-29 12:47:06 -03:00
action.yml don't fail if the engine is not running 2023-12-29 12:47:06 -03:00
LICENSE update dagger 0.9.3 2023-11-14 11:31:05 -08:00
README.md docs: Update README with examples & inputs 2023-11-14 11:31:05 -08:00

GitHub action to run Dagger

Usage Examples

dagger call (default)

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

dagger run

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

All with: input parameter options

Key Description Required Default
version Dagger Version false '0.9.3'
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 ''