stages: - build - publish build-stable: stage: build except: - /^upstream/ image: gitlab-registry.lrde.epita.fr/spot/buildenv/debian:stable script: - ls -l - ./build.sh stable - ls -l _build_stable artifacts: paths: - _build_stable/ build-unstable: stage: build except: - /^upstream/ image: gitlab-registry.lrde.epita.fr/spot/buildenv/debian script: - ls -l - ./build.sh unstable - ls -l _build_unstable artifacts: paths: - _build_unstable/ publish: tags: - dput only: - master stage: publish dependencies: - build-stable - build-unstable script: - cd _build_stable - ls -l - dput lrde *.changes - cd ../_build_unstable - ls -l - dput lrde *.changes