diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3a9574d..5318d2c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,6 +17,8 @@ variables: TAG: "${CI_PIPELINE_IID}-${CI_COMMIT_REF_NAME}-${OS_DISTRO}-${PACKAGE_STREAM}" build_image: + before_script: + - git clean -fd stage: "build" script: - ./scripts/build-dockerfile.sh @@ -29,6 +31,8 @@ build_image: - triggers test_image: + before_script: + - git clean -fd stage: "test" script: - ./scripts/test-image.sh @@ -38,6 +42,8 @@ test_image: - triggers publish_image: + before_script: + - git clean -fd stage: "publish" script: - ./scripts/promote-image.sh