Hello, I am a new user to dagger.
Context:
- I tried using modules, but there are limitations on the client.Host functionality and client.Git functionality
- Thus, I am using the dagger.io/dagger client without dagger modules
The task I want to accomplish is as follows
- [SUCCESS] load my private git repo
- [SUCCESS] run
cue cmd dumpwhich returns a *File (config.yaml) - [SUCCESS] Add the*File (
config.yaml) to a new container's filesystem - [SUCCESS] Expose oci registry running on the host (
WithServiceBinding(reg, hostSrv).) - [PERMISSION DENIED] Use the *File (
flux push artifact...)
I suspect the file permissions are to blame? But I'm not a linux administrator so this is kind of a showstopper.
█ [0.15s] exec id
┃ uid=65534(nobody) gid=65534(nobody) groups=65534(nobody)
█ [0.13s] exec ls -ls config.yaml
┃ 4 -rw-r--r-- 2 root root 716 Apr 3 22:09 config.yaml fmt.Println(result)
How can I proceed?
This behavior is unintuitive. I would expect to be able to use the file because I created the file in the same pipeline.
Am I doing something wrong?
█ [2.77s] ERROR exec flux push artifact oci://zot/ociv2/apps/crossplane:v0.0.4 --source git@<url>.git --path ./ --revision @sha1:<sha>
┃ ► pushing artifact to zot/ociv2/apps/crossplane:v0.0.4
┃ ✗ pushing artifact failed: error creating layer: open /home3785664481: permission denied