mirror of
https://github.com/dagger/dagger-for-github.git
synced 2026-01-01 13:10:18 +11:00
update action to dagger 0.2
- Remove AGE key setup - Update README to use `dagger do` - Update tests to dagger 0.2 Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
parent
64f8bd95de
commit
24d6bfd692
96 changed files with 15028 additions and 70 deletions
|
|
@ -1,14 +1,21 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"alpha.dagger.io/docker"
|
||||
"alpha.dagger.io/git"
|
||||
"dagger.io/dagger"
|
||||
|
||||
"universe.dagger.io/alpine"
|
||||
"universe.dagger.io/bash"
|
||||
)
|
||||
|
||||
ctr: docker.#Build & {
|
||||
source: git.#Repository & {
|
||||
remote: "https://github.com/crazy-max/docker-fail2ban.git"
|
||||
ref: "refs/tags/0.11.2-r3"
|
||||
keepGitDir: true
|
||||
dagger.#Plan & {
|
||||
actions: test: {
|
||||
image: alpine.#Build & {
|
||||
packages: bash: {}
|
||||
}
|
||||
|
||||
bash.#Run & {
|
||||
input: image.output
|
||||
script: contents: "echo Hello World!"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue