dagger-for-github/README.md
2021-05-30 08:05:07 +02:00

3.4 KiB

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

About

GitHub Action for Dagger, a programmable deployment system.

Screenshot


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.