Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
funkwhale
funkwhale
Commits
77f3f444
Commit
77f3f444
authored
Dec 29, 2021
by
Georg Krause
Browse files
Fix Pipeline for stable release builds
parent
dbad92ce
Pipeline
#17772
passed with stages
in 71 minutes and 29 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
77f3f444
...
...
@@ -282,10 +282,10 @@ docker_publish_stable_release:
# Check if this is the latest release
-
./docs/get-releases-json.py | scripts/is-docker-latest.py $CI_COMMIT_TAG - && export DOCKER_LATEST_TAG="-t $IMAGE_LATEST" || export DOCKER_LATEST_TAG=;
-
export major="$(echo $CI_COMMIT_REF_NAME | cut -d '.' -f 1)"
-
export minor="$(echo $CI_COMMIT_REF_NAME | cut -d '.' -f 1,2)"
; fi
-
export minor="$(echo $CI_COMMIT_REF_NAME | cut -d '.' -f 1,2)"
-
cd api
-
docker buildx create --use --name A$CI_COMMIT_SHORT_SHA
-
docker buildx build --platform $BUILD_PLATFORMS --push -t $IMAGE
-t
$DOCKER_LATEST_TAG -t $IMAGE_NAME:$major -t $IMAGE_NAME:$minor .
-
docker buildx build --platform $BUILD_PLATFORMS --push -t $IMAGE $DOCKER_LATEST_TAG -t $IMAGE_NAME:$major -t $IMAGE_NAME:$minor .
docker_publish_unstable_release
:
# Publish a docker image for releases
...
...
changes/changelog.d/1652.bugfix
0 → 100644
View file @
77f3f444
Fix Pipeline for stable release builds (#1652)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment