From 4f15535fa9d9932144c908bf08f1f1e8ca19a742 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Thu, 30 Nov 2023 10:00:05 +0100 Subject: [PATCH] ci(docker): fix docker build for pre-releases Signed-off-by: Thomas Citharel --- .gitlab-ci.yml | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 81bc7c465..602337ceb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -251,7 +251,7 @@ build-docker-tag: rules: &release-tag-rules - if: '$CI_PROJECT_NAMESPACE != "framasoft"' when: never - - if: $CI_COMMIT_TAG != null && $CI_COMMIT_TAG !~ /alpha|beta|rc/ + - if: $CI_COMMIT_TAG != null when: on_success timeout: 3 hours script: @@ -270,23 +270,6 @@ build-docker-tag: - ARCH: ["arm64"] ERL_FLAGS: ["ERL_FLAGS=+JMsingle true"] -# Don't push to latest when building beta/rc tags -build-and-push-docker-tag: - <<: *docker - rules: &pre-release-tag-rules - - if: '$CI_PROJECT_NAMESPACE != "framasoft"' - when: never - - if: $CI_COMMIT_TAG =~ /alpha|beta|rc/ - when: on_success - timeout: 3 hours - script: - - > - docker buildx build - --platform linux/amd64 - --provenance=false - -t framasoft/mobilizon:$CI_COMMIT_TAG-amd64 - -f docker/production/Dockerfile . - # Create manifest and push docker-manifest-push: <<: *docker