Commit graph

207 commits

Author SHA1 Message Date
Solomon Hykes
662d9b66af protect inputs against accidental shell evaluation
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2025-11-17 22:35:49 -08:00
Kyle Penfound
d809c269da
Allow version without v (#194)
* add v to version if it does not have a leading v

Signed-off-by: kpenfound <kyle@dagger.io>

* test version without the v

Signed-off-by: kpenfound <kyle@dagger.io>

---------

Signed-off-by: kpenfound <kyle@dagger.io>
2025-10-01 11:01:20 -04:00
Justin Chadwell
1b7f3b8d6b chore: update RELEASING
Signed-off-by: Justin Chadwell <me@jedevc.com>
2025-10-01 12:50:15 +01:00
Matias Pan
27bae3a184
Add summary for executable verbs (#192) 2025-09-26 16:29:33 -03:00
Kyle Penfound
4f6f256cec
update readme for v8.2.0 (#190)
Signed-off-by: kpenfound <kyle@dagger.io>
2025-09-22 12:48:32 -04:00
Kyle Penfound
d913e70051
avoid downloading dagger if requested version is already installed (#187)
* avoid overwriting existing dagger install unless force-install is true

Signed-off-by: kpenfound <kyle@dagger.io>

* add force-install to version tests

Signed-off-by: kpenfound <kyle@dagger.io>

* only skip install if we requested the same version that we already had

Signed-off-by: kpenfound <kyle@dagger.io>

* fix dagger check logic

Signed-off-by: kpenfound <kyle@dagger.io>

* remove incorrect and unused default for engine-stop

Signed-off-by: kpenfound <kyle@dagger.io>

* add tests for commit and latest

Signed-off-by: kpenfound <kyle@dagger.io>

* wrong commit in commit test

Signed-off-by: kpenfound <kyle@dagger.io>

---------

Signed-off-by: kpenfound <kyle@dagger.io>
2025-09-22 12:04:05 -04:00
Justin Chadwell
055bb3b2af chore: update README
Signed-off-by: Justin Chadwell <me@jedevc.com>
2025-09-22 10:56:56 +01:00
Justin Chadwell
f3062e6d78 chore: update RELEASING
Signed-off-by: Justin Chadwell <me@jedevc.com>
2025-09-22 10:56:56 +01:00
Kyle Penfound
c8eadbd788
remove unnecessary engine-stop (#188)
* remove unnecessary engine-stop

Signed-off-by: kpenfound <kyle@dagger.io>

* add deprecationMessage

Signed-off-by: kpenfound <kyle@dagger.io>

---------

Signed-off-by: kpenfound <kyle@dagger.io>
2025-09-16 14:49:30 -04:00
Kyle Penfound
4e0ad19142
Proper support for shell input (#189)
* add options for shell

Signed-off-by: kpenfound <kyle@dagger.io>

assemble dagger command in new step with output

Signed-off-by: kpenfound <kyle@dagger.io>

fixing some inline bash

Signed-off-by: kpenfound <kyle@dagger.io>

wrap conditional inputs in quotes

Signed-off-by: kpenfound <kyle@dagger.io>

use cat for heredoc script file

Signed-off-by: kpenfound <kyle@dagger.io>

missing space in heredoc

Signed-off-by: kpenfound <kyle@dagger.io>

add tab ignore and dagger shebang

Signed-off-by: kpenfound <kyle@dagger.io>

use toJson and jq to safely write the shell input to a file

Signed-off-by: kpenfound <kyle@dagger.io>

put DAGGER_COMMAND in a variable

Signed-off-by: kpenfound <kyle@dagger.io>

missing semicolon for the dagger command

Signed-off-by: kpenfound <kyle@dagger.io>

safely evaluate if shell is set

Signed-off-by: kpenfound <kyle@dagger.io>

extra > in shell file write

Signed-off-by: kpenfound <kyle@dagger.io>

add some logging

Signed-off-by: kpenfound <kyle@dagger.io>

strip extra newline from jq when shell is not set

Signed-off-by: kpenfound <kyle@dagger.io>

debugging

Signed-off-by: kpenfound <kyle@dagger.io>

toJSON and jq will send null instead of empty string with no input

Signed-off-by: kpenfound <kyle@dagger.io>

safely handle all inputs

Signed-off-by: kpenfound <kyle@dagger.io>

did i fix the wrong thing?

Signed-off-by: kpenfound <kyle@dagger.io>

change up the approach a bit for an easier diff

Signed-off-by: kpenfound <kyle@dagger.io>

fix shell test

Signed-off-by: kpenfound <kyle@dagger.io>

single quotes around shell input

Signed-off-by: kpenfound <kyle@dagger.io>

try with piped input

Signed-off-by: kpenfound <kyle@dagger.io>

try single quotes again

Signed-off-by: kpenfound <kyle@dagger.io>

debug

Signed-off-by: kpenfound <kyle@dagger.io>

debug

Signed-off-by: kpenfound <kyle@dagger.io>

fix shell test

Signed-off-by: kpenfound <kyle@dagger.io>

does shell emit a newline?

Signed-off-by: kpenfound <kyle@dagger.io>

remove the trailing newline if its in stdout

Signed-off-by: kpenfound <kyle@dagger.io>

break the trailing output test

Signed-off-by: kpenfound <kyle@dagger.io>

fix shell test

Signed-off-by: kpenfound <kyle@dagger.io>

missed !

Signed-off-by: kpenfound <kyle@dagger.io>

add comment about weird test

Signed-off-by: kpenfound <kyle@dagger.io>

* use echo -n in shell test

Signed-off-by: kpenfound <kyle@dagger.io>

---------

Signed-off-by: kpenfound <kyle@dagger.io>
2025-09-16 13:19:53 -04:00
Justin Chadwell
710906f307 feat: add traceURL output
Signed-off-by: Justin Chadwell <me@jedevc.com>
2025-08-28 11:12:27 -07:00
Justin Chadwell
71c85a53eb
docs: add RELEASING instructions (#178)
These have been split off from the main releasing process over at
dagger/dagger.

Signed-off-by: Justin Chadwell <me@jedevc.com>
2025-03-28 11:35:27 +00:00
Jeremy Adams
e47aba410e chore: remove dev module for version bumps
Signed-off-by: Jeremy Adams <jeremy@dagger.io>
2025-02-24 23:28:01 -08:00
Jeremy Adams
bdb568fee5 chore: update README action 8.0.0, dagger latest
Signed-off-by: Jeremy Adams <jeremy@dagger.io>
2025-02-24 23:28:01 -08:00
Jeremy Adams
252049295e feat: makes dagger version required
Signed-off-by: Jeremy Adams <jeremy@dagger.io>
2025-02-24 23:28:01 -08:00
Erik Sipsma
361ee54b83 chore: bump default dagger version to v0.16.1
Signed-off-by: Erik Sipsma <erik@sipsma.dev>
2025-02-19 22:04:16 -08:00
Justin Chadwell
b81317a976 chore: bump default dagger version to v0.15.4
Signed-off-by: Justin Chadwell <me@jedevc.com>
2025-02-15 14:05:34 -08:00
Justin Chadwell
31393402b0 chore: bump default dagger version to v0.15.3
Signed-off-by: Justin Chadwell <me@jedevc.com>
2025-01-29 08:56:06 -08:00
Marcos Nils
9daa57adbe
bump dagger to v0.15.2 to address security advisory (#171)
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2025-01-22 11:20:45 -03:00
Justin Chadwell
019ea6794c
chore: bump default dagger version to v0.15.2 (#170)
Signed-off-by: Justin Chadwell <me@jedevc.com>
2025-01-14 18:18:50 +00:00
Justin Chadwell
80a5b5bdc9
ci: add dagger function to bump versions (#169)
Signed-off-by: Justin Chadwell <me@jedevc.com>
2025-01-09 18:16:55 +00:00
Connor Braa
94664ad0b8 chore: bump default dagger version to v0.15.1
Signed-off-by: Connor Braa <connor@dagger.io>
2024-12-12 16:01:10 -08:00
Justin Chadwell
2f17ffec27
chore: bump default dagger version to v0.15.0 (#165)
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-12-11 18:42:14 +00:00
Justin Chadwell
e5153f5610 fix: handle quotes in args
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-11-11 10:54:15 -07:00
Justin Chadwell
b292effaa3 chore: fix multiline output
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-11-11 10:54:15 -07:00
Justin Chadwell
f9a4c9fc12 tests: add test for multiline output
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-11-11 10:54:15 -07:00
Kyle Penfound
e3a863e482
Merge pull request #162 from kpenfound/optional_call
Alias args to call and make call optional
2024-11-11 10:21:36 -07:00
kpenfound
b61bdaa567
add no call test
Signed-off-by: kpenfound <kyle@dagger.io>
2024-11-11 10:09:51 -07:00
kpenfound
6d43cdba87
move call test to its own job
Signed-off-by: kpenfound <kyle@dagger.io>
2024-11-11 10:07:18 -07:00
kpenfound
efd3648738
extra INPUT_
Signed-off-by: kpenfound <kyle@dagger.io>
2024-11-10 22:43:02 -07:00
kpenfound
05e5123a33
set args from gh variables
Signed-off-by: kpenfound <kyle@dagger.io>
2024-11-10 22:41:14 -07:00
kpenfound
40f61d6b3e
needs more dollars
Signed-off-by: kpenfound <kyle@dagger.io>
2024-11-10 22:14:55 -07:00
kpenfound
22b1b56759
bash no like the space
Signed-off-by: kpenfound <kyle@dagger.io>
2024-11-10 22:12:06 -07:00
kpenfound
367e5106ee
alias call to args and make it optional
Signed-off-by: kpenfound <kyle@dagger.io>
2024-11-10 22:08:23 -07:00
Erik Sipsma
a320953b08
Merge pull request #160 from sipsma/update-v0.14.0
update default version to v0.14.0
2024-11-08 15:42:09 -08:00
Erik Sipsma
00680052d7
update default version to v0.14.0
Signed-off-by: Erik Sipsma <erik@sipsma.dev>
2024-11-08 15:30:00 -08:00
Jeremy Adams
078ac0e046 chore: use v0 version of publish immutable action
Signed-off-by: Jeremy Adams <jeremy@dagger.io>
2024-11-08 13:15:01 -08:00
Jeremy Adams
492bb95adc chore: Create publish-immutable-action.yml
Signed-off-by: Jeremy Adams <jeremy@dagger.io>
2024-11-08 12:49:34 -08:00
Justin Chadwell
f5cc786d3e chore: bump default dagger version to v0.13.7
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-10-31 23:12:00 -07:00
Justin Chadwell
33170d0344
test: add version tests (#153)
* test: add versioning tests

Signed-off-by: Justin Chadwell <me@jedevc.com>

* feat: add output for action

To chain on from the github action, it's very useful to be able to get
the output from an action.

Signed-off-by: Justin Chadwell <me@jedevc.com>

---------

Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-10-25 16:40:22 +01:00
Justin Chadwell
ad6a4e308a chore: bump default dagger version to v0.13.6
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-10-25 07:02:43 -07:00
Justin Chadwell
49dd901156
feat: allow specifying nightly builds (#151)
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-10-22 16:36:27 +01:00
Erik Sipsma
6b6e9832f7 chore: bump default version to v0.13.5
Signed-off-by: Erik Sipsma <erik@sipsma.dev>
2024-10-10 16:49:27 -07:00
Justin Chadwell
c697168041
chore: bump default dagger version to v0.13.4 (#150)
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-10-09 13:22:59 -03:00
Alex Suraci
fc945fa66f
bump to engine v0.13.3 (#149)
Signed-off-by: Alex Suraci <alex@dagger.io>
2024-09-20 18:45:37 -03:00
Alex Suraci
501b417bcf
bump to engine v0.13.2 (#148)
Signed-off-by: Alex Suraci <alex@dagger.io>
2024-09-20 17:15:27 -03:00
Erik Sipsma
b6bf6af9f4
bump dagger version to v0.13.1 (#147)
Signed-off-by: Erik Sipsma <erik@sipsma.dev>
2024-09-18 16:56:18 -03:00
Justin Chadwell
e49f5bfe7f
chore: bump default dagger version to v0.13.0 (#146)
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-09-11 19:49:27 +01:00
Justin Chadwell
a419ddbf5e
chore: bump default dagger version to v0.12.7 (#145)
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-09-02 17:45:34 +01:00
Justin Chadwell
8ab204f3cf
chore: bump default dagger version to v0.12.6 (#144)
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-08-30 12:20:36 +01:00