diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 117a678ad..cada575db 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -189,20 +189,9 @@ build-release: - export VERSION_NUMBER - docker buildx build --provenance false --build-arg BUILDKIT_INLINE_CACHE=1 --build-arg VERSION="$VERSION_NUMBER" --cache-from $CI_REGISTRY_IMAGE/api-test:$CACHE_RELEASE_TAG --cache-from $CI_REGISTRY_IMAGE/api:$CACHE_RELEASE_TAG --target=api --platform linux/amd64,linux/arm64 --push --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG . -release-docker-internal: - stage: release - extends: .depends_docker - needs: [build-release] - rules: - - if: $CI_COMMIT_TAG # Run this job when a tag is created - script: - - docker buildx imagetools create $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG - - docker buildx imagetools create $CI_REGISTRY_IMAGE/languagetool:$CI_COMMIT_SHORT_SHA --tag $CI_REGISTRY_IMAGE/languagetool:$CI_COMMIT_TAG - - release-gitlab-release: stage: release - needs: [release-docker-internal] + needs: [build-release] image: registry.gitlab.com/gitlab-org/release-cli:latest script: - echo "works"