Commit graph

207 commits

Author SHA1 Message Date
Vincent Rischmann
f2c0013615
Update tag version in readme (#143)
Signed-off-by: Vincent Rischmann <vincent@rischmann.fr>
2024-08-19 12:05:57 +01:00
Justin Chadwell
145f04c8b5
chore: bump default dagger version to v0.12.5 (#142)
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-08-15 17:15:11 +01:00
Justin Chadwell
29a88e7225 chore: bump default dagger version to v0.12.4
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-08-02 21:12:49 -07:00
Erik Sipsma
a35fcbab33 chore: bump default dagger version to v0.12.3
Signed-off-by: Erik Sipsma <erik@sipsma.dev>
2024-07-25 13:55:14 -07:00
vito
fbdf21fc13 bump default Dagger version to v0.12.2
Signed-off-by: vito <suraci.alex@gmail.com>
2024-07-22 15:16:18 -07:00
Erik Sipsma
29d44c5966 bump to engine v0.12.1
Signed-off-by: Erik Sipsma <erik@sipsma.dev>
2024-07-18 16:28:11 -07:00
Josh Ghiloni
e267a26198
fix(ux): increase readability of install step (#136)
* fix(ux): increase readability of install step

The official github self-hosted action container does not include curl in the OS
but because the `curl` command in the GH Action's install step redirects stderr
to /dev/null, it was hard to determine that.

As part of my Dagger interview, @gerhard and I investigated and found that issue.
We changed the `curl` flags from `-sL` to `-fsS` to be more verbose with the
error reporting and remove following redirects, as the move to Cloudfront
obviated the need for that flag.

We also removed the subshell in the install step at the end because it was not
needed and introduced extra complexity.

I could also see checking for the presence of curl at the beginning of the
script and failing quickly with a message, but that was not discussed in the
interview. Given that this happens very quickly and solves for other HTTP errors
it doesn't seem particularly necessary but I could see the potential for it, if
the desire for it was there.

Signed-off-by: Josh Ghiloni <ghiloni@gmail.com>

* Use pipefail when we pipe commands

Use clearer syntax with pipes (functional style similar to Elixir).

Make the shell & if / env obvious in the commands by declaring them
first in the step.

Signed-off-by: Gerhard Lazu <gerhard@dagger.io>

---------

Signed-off-by: Josh Ghiloni <ghiloni@gmail.com>
Signed-off-by: Gerhard Lazu <gerhard@dagger.io>
Co-authored-by: Gerhard Lazu <gerhard@dagger.io>
2024-07-17 11:58:10 +01:00
Justin Chadwell
747585b245
chore: bump default dagger version to v0.12.0 (#135)
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-07-12 17:08:44 +01:00
Erik Sipsma
11048419d8 chore: bump default dagger version to v0.11.9
Signed-off-by: Erik Sipsma <erik@sipsma.dev>
2024-06-25 11:33:25 -07:00
Justin Chadwell
6210aa04aa
chore: bump default dagger version to v0.11.8 (#133)
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-06-19 11:27:49 +01:00
Justin Chadwell
a3c3f2627a chore: bump default dagger version to v0.11.7
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-06-11 20:31:14 -07:00
Erik Sipsma
158efd19b6 chore: bump default dagger version to v0.11.6
Signed-off-by: Erik Sipsma <erik@sipsma.dev>
2024-05-30 16:29:27 -07:00
Justin Chadwell
cf09bf6f30
chore: bump default dagger version to v0.11.5 (#127)
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-05-28 14:35:01 +01:00
Justin Chadwell
53a90075b0
chore: bump default dagger version to v0.11.4 (#124)
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-05-13 19:46:57 +01:00
Justin Chadwell
96374d4565
chore: bump default dagger version to v0.11.3 (#123)
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-05-08 16:25:40 +01:00
Jeremy Adams
51ce834f1a
chore: bump default dagger version to v0.11.2 (#121)
Signed-off-by: Jeremy Adams <jeremy@dagger.io>
2024-05-02 08:16:41 +01:00
Christian Sagstetter
b0a53f02ff
Update readme (#119)
* Update README.md

Signed-off-by: Christian Sagstetter <39457217+saggl@users.noreply.github.com>

* Update README.md

Signed-off-by: Christian Sagstetter <39457217+saggl@users.noreply.github.com>

---------

Signed-off-by: Christian Sagstetter <39457217+saggl@users.noreply.github.com>
2024-04-26 13:42:55 +01:00
Justin Chadwell
eba69b4ddd
chore: bump default dagger version to v0.11.1 (#118)
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-04-16 16:10:55 +01:00
Purple Clay
6cec00fab9
feat: support latest as an option for the version input (#115)
Signed-off-by: purpleclay <purpleclaygh@gmail.com>
2024-04-05 12:27:35 +01:00
Justin Chadwell
5c13044a77
chore: bump default dagger version to v0.11.0 (#116)
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-04-04 16:49:03 +01:00
Gerhard Lazu
698ef94185 Bump default Dagger version to 0.10.2
This is scheduled to release later today, merge this afterwards.

Signed-off-by: Gerhard Lazu <gerhard@dagger.io>
2024-03-12 11:25:16 -07:00
Jeremy Adams
e86a41a730 Add option to not kill Engine
Signed-off-by: Jeremy Adams <jeremy@dagger.io>
2024-01-03 10:59:02 -08:00
Jeremy Adams
c2ba97152a Update to 0.9.5
Signed-off-by: Jeremy Adams <jeremy@dagger.io>
2024-01-03 10:59:02 -08:00
Jeremy Adams
5af6a44b49 Use if to guard docker stop
Signed-off-by: Jeremy Adams <jeremy@dagger.io>
2024-01-03 10:59:02 -08:00
Eli Gladman
5994e78c56 Do not suppress install output
Signed-off-by: Eli Gladman <8713153+egladman@users.noreply.github.com>
2023-12-29 22:41:55 -08:00
Eli Gladman
2ab4131ade Install binary to less permissive location to support self-hosted runners
Signed-off-by: Eli Gladman <8713153+egladman@users.noreply.github.com>
2023-12-29 22:41:55 -08:00
Eli Gladman
d62508b22a gracefully stop containers
Signed-off-by: Eli Gladman <8713153+egladman@users.noreply.github.com>
2023-12-29 22:41:55 -08:00
Jeremy Adams
6a288cfe4d Remove git metadata hack. Not needed
Signed-off-by: Jeremy Adams <jeremy@dagger.io>
2023-11-14 11:31:05 -08:00
Jeremy Adams
0e89f4742a docs: Update README with examples & inputs
Signed-off-by: Jeremy Adams <jeremy@dagger.io>
2023-11-14 11:31:05 -08:00
Jeremy Adams
106340bff2 Add support for dagger run and workdir
Signed-off-by: Jeremy Adams <jeremy@dagger.io>
2023-11-14 11:31:05 -08:00
Kyle Penfound
ea1e4f41f5 update dagger 0.9.3
Signed-off-by: Kyle Penfound <kyle@dagger.io>
Signed-off-by: Jeremy Adams <jeremy@dagger.io>
Co-authored-by: Jeremy Adams <jeremy@dagger.io>
2023-11-14 11:31:05 -08:00
Jeremy Adams
7815dae500 chore: Set aside old content
Signed-off-by: Jeremy Adams <jeremy@dagger.io>
2023-11-14 11:31:05 -08:00
Jeremy Adams
97a086c722
Merge pull request #85 from dagger/jpadams-with-example
Add --with example to README
2023-02-13 12:52:25 -08:00
Jeremy Adams
3b0cb23d46
Add --with example to README
Signed-off-by: Jeremy Adams <jeremy@dagger.io>
2023-02-13 12:52:15 -08:00
Marcos Nils
ff0c9f2253
Update action version in README (#84)
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2023-02-13 17:29:27 -03:00
Marcos Nils
8ff85980a6
update README example to use dagger-cue binary (#83)
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2023-02-13 17:10:47 -03:00
Marcos Nils
2572459a33
rename dagger to dagger-cue (#79)
* rename dagger to dagger-cue
fixes #78

Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2023-02-13 17:08:12 -03:00
Gerhard Lazu
75549c92b9
Pin dagger CLI to v0.2 (#81)
Since we published https://github.com/dagger/dagger/releases/tag/v0.3.6
(Nov. 30, 2022), this action started downloading that version (i.e.
`latest`), which resulted in breakage, as described in the issue that
this fixes.

As soon as all tests pass and this gets the OK + merge, we should:
1. Cut a new release for this action (I am thinking v3.2.0)
2. Update the v3 tag to point to this new version

That should fix this for all existing GitHub Actions users without any
intervention on their part.

Fixes https://github.com/dagger/dagger-for-github/issues/80

Signed-off-by: Gerhard Lazu <gerhard@dagger.io>
2022-12-06 19:39:50 +00:00
CrazyMax
23fd2f48d1
Merge pull request #74 from crazy-max/dev-deps
Update dev dependencies
2022-10-27 12:54:04 +02:00
CrazyMax
e099607a84
Update dev dependencies
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-10-16 05:14:06 +02:00
CrazyMax
7f208bc120
Merge pull request #65 from dagger/dependabot/npm_and_yarn/actions/tool-cache-2.0.1
Bump @actions/tool-cache from 1.7.2 to 2.0.1
2022-10-15 22:35:52 +02:00
CrazyMax
4bee5931ab
Update generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-10-15 22:11:54 +02:00
dependabot[bot]
1f933e3419
Bump @actions/tool-cache from 1.7.2 to 2.0.1
Bumps [@actions/tool-cache](https://github.com/actions/toolkit/tree/HEAD/packages/tool-cache) from 1.7.2 to 2.0.1.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/tool-cache/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/tool-cache)

---
updated-dependencies:
- dependency-name: "@actions/tool-cache"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-15 20:07:06 +00:00
CrazyMax
7e3f05755d
Merge pull request #67 from dagger/dependabot/npm_and_yarn/actions/http-client-2.0.1
Bump @actions/http-client from 1.0.11 to 2.0.1
2022-10-15 22:05:16 +02:00
CrazyMax
2d823e3484
Update generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-10-15 21:54:55 +02:00
dependabot[bot]
7f59be9065
Bump @actions/http-client from 1.0.11 to 2.0.1
Bumps [@actions/http-client](https://github.com/actions/toolkit/tree/HEAD/packages/http-client) from 1.0.11 to 2.0.1.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/http-client/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/http-client)

---
updated-dependencies:
- dependency-name: "@actions/http-client"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-15 19:51:39 +00:00
CrazyMax
62368f206f
Merge pull request #73 from dagger/dependabot/npm_and_yarn/actions/core-1.10.0
build(deps): bump @actions/core from 1.9.1 to 1.10.0
2022-10-15 21:50:16 +02:00
CrazyMax
6dcdca0284
Update generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-10-15 21:48:14 +02:00
dependabot[bot]
94e556cba5
build(deps): bump @actions/core from 1.9.1 to 1.10.0
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.9.1 to 1.10.0.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

---
updated-dependencies:
- dependency-name: "@actions/core"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-30 10:16:28 +00:00
CrazyMax
4c5cb768d3
Merge pull request #69 from dagger/dependabot/npm_and_yarn/actions/core-1.9.1
build(deps): bump @actions/core from 1.9.0 to 1.9.1
2022-08-24 12:55:23 +02:00