gitlab-ci: unhardcode pulled repo-apk branch

This commit is contained in:
Antoine Martin 2023-02-09 18:03:00 -05:00
parent f64b20e9ad
commit b6a499c812
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -23,7 +23,7 @@ echo "PACKAGER_PRIVKEY=$HOME/.abuild/key.rsa" >> $HOME/.abuild/abuild.conf
echo "REPODEST=$CI_PROJECT_DIR/repo-apk" >> $HOME/.abuild/abuild.conf
doas cp $HOME/.abuild/key.rsa.pub /etc/apk/keys/.
git clone git@lab.ilot.io:ayakael/repo-apk -b edge
git clone git@lab.ilot.io:ayakael/repo-apk -b $CI_MERGE_REQUEST_PROJECT_URL
for i in $(find packages -type f -name "*.apk"); do
cp $i ${i/packages/repo-apk}
done