Add CI to tag releases

This commit is contained in:
The Shittinator
2026-02-22 20:13:04 -06:00
parent 24ee73beae
commit 2d8228b514

View File

@ -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