From 917d9411d27d94afc41bcfcfb28529f7fc71050e Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 13 Mar 2025 12:03:51 -0300 Subject: [PATCH] Feat: create a release on new tags (tpo/onion-services/onion-support#268) and use image from base-images --- .gitlab-ci-l10n.yml | 2 +- .gitlab-ci.yml | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci-l10n.yml b/.gitlab-ci-l10n.yml index be6410b..a070bce 100644 --- a/.gitlab-ci-l10n.yml +++ b/.gitlab-ci-l10n.yml @@ -1,5 +1,5 @@ l10n: - image: debian:bookworm + image: containers.torproject.org/tpo/tpa/base-images/debian:stable script: - scripts/l10n-for-markdown-provision - make l10n-for-markdown-update-locales diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fa7bb0b..3a3c628 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,15 @@ --- include: - local: '.gitlab-ci-l10n.yml' + +release: + image: registry.gitlab.com/gitlab-org/release-cli:latest + stage: .post + rules: + # Run this job when a tag is created + - if: $CI_COMMIT_TAG + script: + - echo "Running release_job..." + release: + tag_name: '$CI_COMMIT_TAG' + description: '$CI_COMMIT_TAG' -- GitLab