You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, we found that errors occurred in some environments when we tried to run tagpr with self-hosted GitHub Actions.
It seems to be caused by a difference in the libc version between the built environment and the executed environment.
(Please see the following log for reference)
Solution
One of solutions is to upgrade libc version of our self-hosted runner.
But, it is a better solution to set CGO_ENABLED=0 when building tagpr binaries because it doesn't need cgo.
GitHub Actions Log
Run Songmu/tagpr@v1
Run cd "${GITHUB_WORKSPACE}" || exit 1
Songmu/tagpr info checking GitHub for tag 'v1.1.2'
Songmu/tagpr info found version: v1.1.2 for v1.1.2/linux/amd64
Songmu/tagpr info installed /tmp/tmp.RDFd1gAQ3Q/tagpr
tagpr: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by tagpr)
tagpr: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by tagpr)
Error: Process completed with exit code 1.
The text was updated successfully, but these errors were encountered:
p1ass
changed the title
GitHub Action fails because of libc
GitHub Action fails because of libc version
May 12, 2023
What is the problem?
Thank you for releasing a great product!
However, we found that errors occurred in some environments when we tried to run
tagpr
with self-hosted GitHub Actions.It seems to be caused by a difference in the libc version between the built environment and the executed environment.
(Please see the following log for reference)
Solution
One of solutions is to upgrade libc version of our self-hosted runner.
But, it is a better solution to set
CGO_ENABLED=0
when buildingtagpr
binaries because it doesn't need cgo.GitHub Actions Log
The text was updated successfully, but these errors were encountered: