mirror of
https://github.com/dagger/dagger-for-github.git
synced 2026-01-01 05:00:21 +11:00
GitHub Action for Dagger
https://github.com/marketplace/actions/dagger-for-github
| .github | ||
| __tests__ | ||
| dist | ||
| hack | ||
| src | ||
| test | ||
| .dockerignore | ||
| .editorconfig | ||
| .gitattributes | ||
| .gitignore | ||
| .prettierrc.json | ||
| action.yml | ||
| docker-bake.hcl | ||
| jest.config.js | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| yarn.lock | ||
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.