bugfix publish pipeline
This commit is contained in:
parent
4cb2fa73d0
commit
111aba5a2d
|
@ -25,43 +25,35 @@ jobs:
|
|||
host: x86_64
|
||||
libc: glibc
|
||||
platform: linux/amd64
|
||||
test: 0
|
||||
- arch: i686
|
||||
host: i686
|
||||
libc: glibc
|
||||
platform: linux/386
|
||||
test: 0
|
||||
- arch: aarch64
|
||||
host: x86_64
|
||||
libc: glibc
|
||||
platform: linux/amd64
|
||||
test: 0
|
||||
- arch: armv7l
|
||||
host: x86_64
|
||||
libc: glibc
|
||||
platform: linux/amd64
|
||||
test: 0
|
||||
- arch: x86_64-musl
|
||||
host: x86_64-musl
|
||||
libc: musl
|
||||
platform: linux/amd64
|
||||
test: 1
|
||||
- arch: armv6l-musl
|
||||
host: x86_64-musl
|
||||
libc: musl
|
||||
platform: linux/amd64
|
||||
test: 0
|
||||
- arch: aarch64-musl
|
||||
host: x86_64-musl
|
||||
libc: musl
|
||||
platform: linux/amd64
|
||||
test: 0
|
||||
env:
|
||||
MAINTAINER: "Luca Bilke <luca@bil.ke>"
|
||||
PATH: "/usr/libexec/chroot-git:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin"
|
||||
ARCH: "${{ matrix.config.arch }}"
|
||||
BOOTSTRAP: "${{ matrix.config.host }}"
|
||||
TEST: "${{ matrix.config.test }}"
|
||||
HOSTREPO: /hostrepo
|
||||
container:
|
||||
image: git.snaile.de/snailed/xbps-builder:${{ matrix.config.libc }}-latest
|
||||
|
@ -113,14 +105,14 @@ jobs:
|
|||
(
|
||||
here="$(pwd)"
|
||||
cd /
|
||||
"$here/common/travis/build.sh" "$BOOTSTRAP" "$ARCH" "$TEST"
|
||||
"$here/common/travis/build.sh" "$BOOTSTRAP" "$ARCH" 0
|
||||
)
|
||||
|
||||
- name: Sign and upload packages
|
||||
run: |
|
||||
echo '${{ secrets.XBPS_SIGNING_KEY }}' >"/tmp/privkey.pem"
|
||||
|
||||
for package in $(echo /hostdir/binpkgs/*.${{ matrix.config.arch }}.xbps | cut -d ' ' -f 1); do
|
||||
for package in $(echo "$HOME"/hostdir/binpkgs/*.${{ matrix.config.arch }}.xbps | cut -d ' ' -f 1); do
|
||||
XBPS_PASSPHRASE=${{ secrets.XBPS_SIGNING_PASSPHRASE }} xbps-rindex --privkey "/tmp/privkey.pem" --sign-pkg --signedby "${{ env.MAINTAINER }}" "$package"
|
||||
for item in "$package" "${package}.sig2"; do
|
||||
curl -X PUT --digest -u "${{ vars.XBPS_WEBDAV_USER }}:${{ secrets.XBPS_WEBDAV_KEY }}" -T "${item}" "https://xbps.snaile.de/$(basename $item)"
|
||||
|
|
Loading…
Reference in New Issue