-
Notifications
You must be signed in to change notification settings - Fork 73
Add container image #561
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Add container image #561
Conversation
Note that I haven't tested the CI action, but that's the script I'm using elsewhere and I hope it will work as-is. |
This change enables running emanote in a container.
c4519f0
to
be30738
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@TristanCacqueray This is what I see:
That's odd, the script works with the default action runner, here is an example: https://github.com/logjuicer/logjuicer/actions/runs/10422103187/job/28865852855 I guess the XDG_RUNTIME_DIR of your runner is not writable, perhaps try setting it to a valid location for this task? |
Curious this is a requirement of skopeo? If so crane may be worth looking into, as we've got it working with the same kind of runners: https://github.com/nammayatri/nammayatri/blob/acced803e46a801edada92cd1fd5fa769790deb2/.github/workflows/nix.yaml#L113-L127 As a stretch goal only, it'd be good to use https://github.com/nlewo/nix2container over |
@srid I think skopeo/podman writes the credentials to /run . Also, once the package is created on GH you'll have to mark at as public so that it can be used freely. |
This change enables running emanote in a container.