Find a file
2021-05-30 07:54:43 +02:00
.github Add workflows 2021-05-30 07:54:43 +02:00
__tests__ Initial commit 2021-05-30 07:51:20 +02:00
dist Initial commit 2021-05-30 07:51:20 +02:00
hack Initial commit 2021-05-30 07:51:20 +02:00
src Initial commit 2021-05-30 07:51:20 +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 Initial commit 2021-05-30 07:51:20 +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 Initial commit 2021-05-30 07:51:20 +02:00
package.json Initial commit 2021-05-30 07:51:20 +02:00
README.md Initial commit 2021-05-30 07:51:20 +02:00
tsconfig.json Initial commit 2021-05-30 07:51:20 +02:00
yarn.lock Initial commit 2021-05-30 07:51:20 +02:00

GitHub release GitHub marketplace Test workflow Codecov Become a sponsor Paypal Donate

About

GitHub Action for Dagger, a programmable deployment system.


Usage

Basic

name: dagger

on:
  push:
    branches:
      - master

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

Install Only

steps:
  -
    name: Install Dagger
    uses: crazy-max/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

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

How can I help?

All kinds of contributions are welcome 🙌! The most basic way to show your support is to star 🌟 the project, or to raise issues 💬 You can also support this project by becoming a sponsor on GitHub 👏 or by making a Paypal donation to ensure this journey continues indefinitely! 🚀

Thanks again for your support, it is much appreciated! 🙏

License

MIT. See LICENSE for more details.