default:
  image:
    name: ubuntu:latest
  before_script:
    - apt-get update -yq
    - DEBIAN_FRONTEND=noninteractive apt-get install -yq devscripts sudo

deb:
  stage: build
  tags:
    - docker
  script:
    - yes "" | ./utils/do_debian_package.sh --snapshot=stable --type=binary --interactive=no --dput=no --debbuild-extra=--no-sign || true
  timeout: 2h
  artifacts:
    paths:
      - '*.deb'
    expire_in: 1 week
