mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
fix: gitlab ci dpkg based build.
This commit is contained in:
parent
03be191442
commit
63751ea66f
@ -72,12 +72,12 @@ debian:
|
||||
stage: build
|
||||
image: registry.gitlab.com/roddhjav/builders/debian
|
||||
script:
|
||||
- sudo chown -R build:build /builds/
|
||||
- git config --global --add safe.directory $CI_PROJECT_DIR
|
||||
- VERSION="0.$(git rev-list --count HEAD)-1"
|
||||
- mkdir -p "$PKGDEST"
|
||||
- sudo apt-get update -q && sudo apt-get install -y config-package-dev rsync
|
||||
- sudo apt-get install -y -t bullseye-backports golang-go
|
||||
- dch --newversion=$VERSION --urgency=medium --distribution=stable --controlmaint "Release $VERSION"
|
||||
- dpkg-buildpackage -b -d --no-sign
|
||||
- mv ../*.deb $PKGDEST/
|
||||
artifacts:
|
||||
|
Loading…
Reference in New Issue
Block a user