From: Aleš Mrázek Date: Fri, 17 Jan 2025 14:49:29 +0000 (+0100) Subject: .gitlab-ci.yml: release stage added X-Git-Tag: v6.0.13~7^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=388fa8bffb5b7355ddc6d2f702dfcc60a36915ee;p=thirdparty%2Fknot-resolver.git .gitlab-ci.yml: release stage added --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5eb035b9f..d0a4b8818 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -37,6 +37,7 @@ stages: - test - respdiff - deploy + - release - pkg # https://docs.gitlab.com/ce/ci/jobs/job_control.html#select-different-runner-tags-for-each-parallel-matrix-job @@ -288,9 +289,9 @@ docker:test:cross-platform: - docker - ${PLATFORM} -dockerhub:deploy: +docker:dockerhub: <<: *docker - stage: deploy + stage: release when: manual only: - tags @@ -878,7 +879,7 @@ docs:release: url: https://www.knot-resolver.cz/documentation/artifacts/$CI_JOB_ID/index.html # This job deploys the current docs as -pages: +docs:pages: stage: deploy needs: - docs:build @@ -891,10 +892,13 @@ pages: # This job pushes the Knot Resolver documentation into a new branch of the # `websites/knot-resolver.cz` repository. docs:website: - stage: deploy + stage: release needs: - docs:build when: manual + only: + refs: + - tags variables: script: - "SRC_COMMIT_REF=\"$CI_COMMIT_TAG$CI_COMMIT_BRANCH$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME\""