Skip to content

Commit

Permalink
Merge pull request #86 from iits-consulting/Ninja243/apk-push-issue
Browse files Browse the repository at this point in the history
Set key permissions to 600
  • Loading branch information
Ninja243 authored Jun 4, 2024
2 parents 49f101f + 79e18c7 commit ea0ffb3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,9 @@ jobs:
run: |
mkdir ~/.abuild
echo "$APK_PACKAGE_RSA" > ~/.abuild/abuild.rsa
chmod 600 ~/.abuild/abuild.rsa
openssl rsa -pubout -in ~/.abuild/abuild.rsa -out ~/.abuild/abuild.rsa.pub
chmod 600 ~/.abuild/abuild.rsa.pub
echo "PACKAGER_PRIVKEY=\"~/.abuild/abuild.rsa\"" >> /etc/abuild.conf
cp ~/.abuild/abuild.rsa.pub /etc/apk/keys/
env:
Expand Down

0 comments on commit ea0ffb3

Please sign in to comment.