fix: resolve all build job failures
CI workflow (ci.yml): - Proper YAML structure for all steps - curl+tar checkout (act runners lack git) - GITEATOKEN authentication for private repo access - build-essential/gcc added to all jobs - dpkg-buildpackage -d flag (skip apt dep check) Build scripts: - build-alpine.sh: Copy APKBUILD to /home/builduser before abuild - build-arch.sh: Use REPO_DIR variable instead of $(pwd) in su commands
This commit is contained in:
@ -110,7 +110,11 @@ if [ "$(id -u)" = "0" ]; then
|
||||
echo "PACKAGER_PRIVKEY=\"$KEYFILE\"" > /home/builduser/.abuild/abuild.conf
|
||||
chown builduser:builduser /home/builduser/.abuild/abuild.conf
|
||||
|
||||
# Run abuild as builduser with explicit working directory
|
||||
# Copy APKBUILD and checksums to builduser home for abuild
|
||||
cp APKBUILD /home/builduser/
|
||||
cp .checksums /home/builduser/ 2>/dev/null || true
|
||||
|
||||
# Run abuild as builduser in /home/builduser where APKBUILD exists
|
||||
su - builduser -c "cd /home/builduser && abuild checksum && abuild -d -F"
|
||||
|
||||
# Copy APK from builduser packages to releases
|
||||
|
||||
Reference in New Issue
Block a user