feat: update gitea-act-runner
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
nyyu 2023-03-24 08:33:58 +01:00
parent 9c93d40800
commit f8a3a0c361
2 changed files with 14 additions and 10 deletions

View File

@ -1,6 +1,6 @@
pkgbase = gitea-act-runner
pkgdesc = A runner for Gitea based on act.
pkgver = 0.0.1
pkgver = 0.0.2
pkgrel = 1
url = https://gitea.io
arch = x86_64
@ -8,12 +8,12 @@ pkgbase = gitea-act-runner
makedepends = go
makedepends = git
options = !lto
source = act_runner-main.tar.gz
source = https://nyyu.dev/sources/act_runner-main.tar.gz
source = gitea-act-runner.service
source = gitea-act-runner.sysusers
source = gitea-act-runner.tmpfiles
sha256sums = b74701384fda52a0125f2a4f38cdbec25e32bd1a481cfd98dded1db5f0389607
sha256sums = cab13dc302bba635aa003657fd33166354147ee2993d87366f05753d3ff1a988
sha256sums = 03da58d18c1caa0a3608c038a65a14b77197037ac427b0ca96c3db943337eb40
sha256sums = 50691e625cb8ecc54b2014ca23d75355ffc40c26537e1fc17acea3a94b66d10d
sha256sums = 2a59d9fb29fc93c14bce7a8c34f454a44e5a84e0eebaa60fea00b74961dd82d6
sha256sums = 93bf08efe2c7c669ee3a15fb281cc004441ddb6c60bdda9237cfd0ebd29113d1

View File

@ -1,5 +1,5 @@
pkgname=gitea-act-runner
pkgver=0.0.1
pkgver=0.0.2
pkgrel=1
pkgdesc="A runner for Gitea based on act."
arch=(x86_64)
@ -12,7 +12,7 @@ source=(#git+https://gitea.com/gitea/act_runner.git
gitea-act-runner.service
gitea-act-runner.sysusers
gitea-act-runner.tmpfiles)
sha256sums=('2743717b64d597f3dd5b8f161dcc310dd94209469ca3c99ca7d221dc81fa320d'
sha256sums=('03da58d18c1caa0a3608c038a65a14b77197037ac427b0ca96c3db943337eb40'
'50691e625cb8ecc54b2014ca23d75355ffc40c26537e1fc17acea3a94b66d10d'
'2a59d9fb29fc93c14bce7a8c34f454a44e5a84e0eebaa60fea00b74961dd82d6'
'93bf08efe2c7c669ee3a15fb281cc004441ddb6c60bdda9237cfd0ebd29113d1')
@ -28,10 +28,14 @@ build() {
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}"
export EXTRA_GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
export TAGS="netgo osusergo"
unset LDFLAGS
make -j1
go build \
-tags 'netgo osusergo' \
-trimpath \
-buildmode=pie \
-mod=readonly \
-modcacherw \
-ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" \
.
}
check() {