diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2475a4fb705203f1a6aa366362fa5b8633ddb353..701c6bb5949b1321913d7c51d4dc7193063ff90b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,13 +10,12 @@ before_script: after_script: - ls -la $CI_BUILDS_DIR - ls -la $CI_PROJECT_DIR - - ls -la $CI_PROJECT_DIR../ package: stage: build script: - cd source - debuild -us -uc -# artifacts: -# paths: -# - artifacts + artifacts: + paths: + - nginx_${NGINX_VERSION} diff --git a/source/Makefile b/source/Makefile index b8a979ded9332161ff9172cad25883407877796c..fe8dc5026ed1d9c679b08665594b315f6c1f1db6 100644 --- a/source/Makefile +++ b/source/Makefile @@ -1,6 +1,6 @@ # Relies on latest binary build artifact from https://git.ethitter.com/debian/nginx-build. get_binary: - curl -o fakeroot/usr/sbin/nginx "$NGINX_BINARY" + curl -o fakeroot/usr/sbin/nginx $NGINX_BINARY install: get_binary install fakeroot/etc/default/nginx /etc/default/nginx