diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8044efa..ac0dae9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -53,6 +53,7 @@ stages: artifacts: paths: - $CI_PROJECT_DIR/*.deb + expire_in: 7 days only: - tags @@ -68,29 +69,25 @@ stages: - triggers gitea-amd64-tag: - <<: *package - <<: *manual + <<: [*package, *manual] variables: <<: *vars ARCH: amd64 gitea-amd64-trigger: - <<: *package - <<: *trigger + <<: [*package, *trigger] variables: <<: *vars ARCH: amd64 gitea-arm64-tag: - <<: *package - <<: *manual + <<: [*package, *manual] variables: <<: *vars ARCH: arm64 gitea-arm64-trigger: - <<: *package - <<: *trigger + <<: [*package, *trigger] variables: <<: *vars ARCH: arm64 @@ -161,7 +158,7 @@ test-update-tag: only: - tags -reprepro: +.repro: &repo cache: untracked: true paths: @@ -174,9 +171,23 @@ reprepro: - apt-get -qqy install curl - curl -L https://gitlab.com/packaging/utils/-/raw/main/repo.sh | bash -s -- gitea + +repo-tag: + <<: [*repo] + needs: + - test-install-tag + - test-update-tag only: - tags +repo-trigger: + <<: [*repo] + needs: + - test-install-trigger + - test-update-trigger + only: + - triggers + pages: cache: untracked: true