#example on docs not working
1 messages · Page 1 of 1 (latest)
Just tested examples and it seems version v0.9.7 is not able to use tags in module repos but examples uses tags in docs.
Dagger CLI v0.9.7 with tag
dagger -m github.com/shykes/daggerverse/hello@v0.1.2 call hello
✘ load call ERROR [0.63s]
├ [0.63s] loading module
┃ Error: failed to get module config: resolve git ref: input: resolve: git: commit: commit: failed to fetch remote https://github.com/shykes/daggerverse: git error: exit status 128
┃ stderr:
┃ fatal: couldn't find remote ref v0.1.2
┃
┃ input: resolve: git: commit: commit: failed to fetch remote https://github.com/shykes/daggerverse: git error: exit status 128
┃ stderr:
┃ fatal: couldn't find remote ref v0.1.2
✘ commit ERROR [0.63s]
▶ commit
✘ git://github.com/shykes/daggerverse#v0.1.2 ERROR [0.30s]
┃ Initialized empty Git repository in /var/lib/dagger/runc-overlayfs/snapshots/snapshots/1/fs/
┃ 3d608cb5e6b4b18036a471400bc4e6c753f229d7 refs/tags/hello/v0.1.2
┃ 3d608cb5e6b4b18036a471400bc4e6c753f229d7 refs/tags/wolfi/v0.1.2
┃ fatal: couldn't find remote ref v0.1.2
• Engine: 2387ca7d321d (version v0.9.7)
⧗ 8.91s ✔ 7 ✘ 3
Dagger CLI v0.9.7 without tag:
dagger -m github.com/shykes/daggerverse/hello call hello
✔ dagger call hello [0.31s]
┃ "hello", "world"!
• Engine: 2387ca7d321d (version v0.9.7)
⧗ 12.42s ✔ 92
Dagger CLI v0.10.0
dagger -m github.com/shykes/daggerverse/hello@v0.1.2 call hello
hello, world!
っ◔◡◔)っ dagger version
dagger v0.9.7 (registry.dagger.io/engine) darwin/amd64
I'm using 0.9.7
example on docs not working