Find a file
CrazyMax 5d1f2d90ab
Update generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-06-10 00:59:26 +02:00
.github Fix config path 2021-06-02 17:05:47 +02:00
__tests__ Initial commit 2021-05-30 07:51:20 +02:00
dist Update generated content 2021-06-10 00:59:26 +02:00
hack Initial commit 2021-05-30 07:51:20 +02:00
src Fix config path 2021-06-02 17:05:47 +02:00
test Initial commit 2021-05-30 07:51:20 +02:00
.dockerignore Initial commit 2021-05-30 07:51:20 +02:00
.editorconfig Initial commit 2021-05-30 07:51:20 +02:00
.gitattributes Initial commit 2021-05-30 07:51:20 +02:00
.gitignore Initial commit 2021-05-30 07:51:20 +02:00
.prettierrc.json Initial commit 2021-05-30 07:51:20 +02:00
action.yml Add input to allow to cleanup Dagger home folder at the end of a job 2021-05-31 10:18:37 +02:00
docker-bake.hcl Initial commit 2021-05-30 07:51:20 +02:00
jest.config.js Initial commit 2021-05-30 07:51:20 +02:00
LICENSE Move to dagger org 2021-05-30 08:51:33 +02:00
package.json Bump @actions/exec from 1.0.4 to 1.1.0 2021-06-09 22:43:10 +00:00
README.md Merge pull request #4 from crazy-max/cleanup 2021-06-01 10:51:06 -07:00
tsconfig.json Initial commit 2021-05-30 07:51:20 +02:00
yarn.lock Bump @actions/exec from 1.0.4 to 1.1.0 2021-06-09 22:43:10 +00:00

Dagger

GitHub release GitHub marketplace Test workflow Codecov

About

GitHub Action for Dagger, a programmable deployment system.

Screenshot


Usage

Basic

name: dagger

on:
  push:
    branches:
      - main

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      -
        name: Checkout
        uses: actions/checkout@v2
      -
        name: Dagger
        uses: dagger/dagger-action@v1
        with:
          age-key: ${{ secrets.DAGGER_AGE_KEY }}
          args: up

Install Only

steps:
  -
    name: Install Dagger
    uses: dagger/dagger-action@v1
    with:
      install-only: true
  -
    name: Show Dagger version
    run: dagger version

Customizing

inputs

Following inputs can be used as step.with keys

Name Type Default Description
version String latest Dagger version
age-key String Dagger private key
args String Arguments to pass to Dagger
workdir String . Working directory (below repository root)
install-only Bool false Just install Dagger
cleanup Bool true Cleanup Dagger home folder at the end of a job

Development

# format code and build javascript artifacts
docker buildx bake pre-checkin

# validate all code has correctly formatted and built
docker buildx bake validate

# run tests
docker buildx bake test

License

MIT. See LICENSE for more details.