# Is performed before the scripts in the stages step before_script: - source /etc/profile # Defines stages which are to be executed stages: - build # Stage "build" run-build: stage: build script: - pwd - mkdir /builds/build-artifacts - apt update - apt install -y build-essential devscripts dh-make - dpkg-buildpackage -us -uc - mv ../* build-artifacts/ tags: - ssd-selfhosted # This stage is only executed for new tags only: - tags # The files which are to be made available in GitLab artifacts: paths: - /builds/build-artifacts/