Add --with example to README

Signed-off-by: Jeremy Adams <jeremy@dagger.io>
This commit is contained in:
Jeremy Adams 2023-02-13 12:52:15 -08:00 committed by GitHub
parent ff0c9f2253
commit 3b0cb23d46
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,6 +61,22 @@ steps:
run: dagger-cue version
```
### Install Only and `--with`
```yaml
steps:
-
name: Install Dagger
uses: dagger/dagger-for-github@v4
with:
install-only: true
-
name: Build a subdir example
run: |
dagger-cue do build --log-format plain -with 'actions:build:subdir: ${{env.SUBDIR}}'
```
### Multiple commands
```yaml