From 8e96c3884e8867c493e100b26cebb1ab70105b81 Mon Sep 17 00:00:00 2001 From: Matthew Defenderfer <mdefende@uab.edu> Date: Fri, 4 Apr 2025 11:46:07 -0500 Subject: [PATCH] allow tag builds to fail since tags are seldom updated in the source repo --- .gitlab-ci.yml | 1 + template-build-tags.yml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d50815f..1ab8a13 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -44,6 +44,7 @@ trigger_tag_builds: - artifact: 'build-tags.yml' job: prep_missing_tags strategy: depend + allow_failure: true build_latest: image: docker:latest diff --git a/template-build-tags.yml b/template-build-tags.yml index 7e0b930..0ee7da7 100644 --- a/template-build-tags.yml +++ b/template-build-tags.yml @@ -27,4 +27,5 @@ build_tags: echo "Building tag {$TAG}" git checkout tags/v$TAG docker build -t $REGISTRY_URL/$IMAGE_NAME:$TAG -f docker/Dockerfile . - docker push $REGISTRY_URL/$IMAGE_NAME:$TAG \ No newline at end of file + docker push $REGISTRY_URL/$IMAGE_NAME:$TAG + allow_failure: true \ No newline at end of file -- GitLab