File tree 2 files changed +66
-5
lines changed
2 files changed +66
-5
lines changed Original file line number Diff line number Diff line change @@ -33,13 +33,11 @@ jobs:
33
33
run : |
34
34
tag="${GITHUB_REF##*/}"
35
35
shasha=$(sha256sum _output/SHA256SUMS | awk '{print $1}')
36
- cat << EOF | tee /tmp/release-note.txt
36
+ cat <<- EOF | tee /tmp/release-note.txt
37
37
${tag}
38
38
39
- #### Changes
40
- (To be documented)
41
-
42
- #### About the binaries
39
+ $(hack/generate-release-note.sh)
40
+ - - -
43
41
The binaries were built automatically on GitHub Actions.
44
42
The build log is available for 90 days: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
45
43
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ minimal_amd64tgz=" $( find _output -name ' *amd64.tar.gz*' -and ! -name ' *full*' ) "
3
+ full_amd64tgz=" $( find _output -name ' *amd64.tar.gz*' -and -name ' *full*' ) "
4
+
5
+ minimal_amd64tgz_basename=" $( basename ${minimal_amd64tgz} ) "
6
+ full_amd64tgz_basename=" $( basename ${full_amd64tgz} ) "
7
+
8
+ cat << -EOX
9
+ ## Changes
10
+ (To be documented)
11
+
12
+ ## About the binaries
13
+ - Minimal (\` ${minimal_amd64tgz_basename} \` ): nerdctl only
14
+ - Full (\` ${full_amd64tgz_basename} \` ): Includes dependencies such as containerd, runc, and CNI
15
+
16
+ ### Minimal
17
+ Extract the archive to a path like \` /usr/local/bin\` or \` ~/bin\` .
18
+ <details><summary>tar Cxzvvf /usr/local/bin ${minimal_amd64tgz_basename} </summary>
19
+ <p>
20
+
21
+ \`\`\`
22
+ $( tar tzvf ${minimal_amd64tgz} )
23
+ \`\`\`
24
+ </p>
25
+ </details>
26
+
27
+ ### Full
28
+ Extract the archive to a path like \` /usr/local\` or \` ~/.local\` .
29
+
30
+ <details><summary>tar Cxzvvf /usr/local ${full_amd64tgz_basename} </summary>
31
+ <p>
32
+
33
+ \`\`\`
34
+ $( tar tzvf ${full_amd64tgz} )
35
+ \`\`\`
36
+ </p>
37
+ </details>
38
+
39
+ <details><summary>Included components</summary>
40
+ <p>
41
+
42
+ See \` share/doc/nerdctl-full/README.md\` :
43
+ \`\`\` markdown
44
+ $( tar xOzf ${full_amd64tgz} share/doc/nerdctl-full/README.md)
45
+ \`\`\`
46
+ </p>
47
+ </details>
48
+
49
+ ## Quick start
50
+ ### Rootful
51
+ \`\`\` console
52
+ $ sudo systemctl enable --now containerd
53
+ $ sudo nerdctl run -d --name nginx -p 80:80 nginx:alpine
54
+ \`\`\`
55
+
56
+ ### Rootless
57
+ \`\`\` console
58
+ $ containerd-rootless-setuptool.sh install
59
+ $ nerdctl run -d --name nginx -p 8080:80 nginx:alpine
60
+ \`\`\`
61
+
62
+ Rootless mode requires systemd and cgroup v2, see https://rootlesscontaine.rs/getting-started/common/cgroup2/ .
63
+ EOX
You can’t perform that action at this time.
0 commit comments