Commit 121ee39 1 parent 485e9d3 commit 121ee39 Copy full SHA for 121ee39
File tree 2 files changed +18
-15
lines changed
examples/github-action/tests/defaults/files/.github/workflows
2 files changed +18
-15
lines changed Original file line number Diff line number Diff line change @@ -17,28 +17,31 @@ jobs:
17
17
packages : write
18
18
env :
19
19
DOCKER_CONFIG : $HOME/.docker
20
+ strategy :
21
+ fail-fast : false
22
+ matrix :
23
+ recipe_name :
24
+ - github-action
25
+ - minimal
26
+ - terraform-bootstrap
27
+ - variable-file-names
28
+ - variable-types
29
+ - with-tests
20
30
steps :
21
31
- uses : actions/checkout@v4
22
32
33
+ - uses : futurice/jalapeno@main
34
+ name : Test ${{ matrix.recipe_name }}
35
+ with :
36
+ cmd : test examples/${{ matrix.recipe_name }}
37
+
23
38
- uses : docker/login-action@v3
24
39
with :
25
40
registry : ghcr.io
26
41
username : ${{ github.actor }}
27
42
password : ${{ secrets.GITHUB_TOKEN }}
28
43
29
- # TODO: Loop over dynamically through all examples
30
- - uses : futurice/jalapeno@main
31
- with :
32
- cmd : push ./examples/github-action oci://ghcr.io/futurice/jalapeno/examples/github-action
33
- - uses : futurice/jalapeno@main
34
- with :
35
- cmd : push ./examples/minimal oci://ghcr.io/futurice/jalapeno/examples/minimal
36
- - uses : futurice/jalapeno@main
37
- with :
38
- cmd : push ./examples/variable-types oci://ghcr.io/futurice/jalapeno/examples/variable-types
39
- - uses : futurice/jalapeno@main
40
- with :
41
- cmd : push ./examples/with-tests oci://ghcr.io/futurice/jalapeno/examples/with-tests
42
44
- uses : futurice/jalapeno@main
45
+ name : Push ${{ matrix.recipe_name }}
43
46
with :
44
- cmd : push ./ examples/terraform-bootstrap oci:// ghcr.io/futurice/jalapeno/examples/terraform-bootstrap
47
+ cmd : push examples/${{ matrix.recipe_name }} ghcr.io/futurice/jalapeno/examples/${{ matrix.recipe_name }} --latest
Original file line number Diff line number Diff line change 21
21
- uses : futurice/jalapeno@main
22
22
id : jalapeno
23
23
with :
24
- cmd : check
24
+ cmd : check --detailed-exitcode
25
25
- if : steps.jalapeno.outputs.exit-code == '2'
26
26
run : echo "::notice::Jalapeno updates available"
You can’t perform that action at this time.
0 commit comments