From 2d8228b514c9de5bc2ecd453cd589e2653d0012d Mon Sep 17 00:00:00 2001 From: The Shittinator <26260585-shittinator@users.noreply.gitlab.com> Date: Sun, 22 Feb 2026 20:13:04 -0600 Subject: [PATCH] Add CI to tag releases --- .gitlab-ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 71f918d..fc681cd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -109,3 +109,18 @@ Tag SHA: rules: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - if: $CI_COMMIT_TAG +Tag Release: + image: + name: quay.io/containers/skopeo:latest + entrypoint: [""] + interruptible: no # W: truthy value should be one of [false, true] + cache: [] + before_script: [] + stage: Release + script: + - echo "$CI_REGISTRY_PASSWORD" | skopeo login $CI_REGISTRY -u $CI_REGISTRY_USER --password-stdin # E: line too long (100 > 80 characters) + - skopeo inspect oci-archive:$IMAGE_TARBALL + - skopeo copy --all oci-archive:$IMAGE_TARBALL docker://$IMAGE_TAG_RELEASE + - skopeo copy --all oci-archive:$IMAGE_TARBALL docker://$IMAGE_TAG_LATEST + rules: + - if: $CI_COMMIT_TAG