Skip to content
Snippets Groups Projects
Commit caa30555 authored by Kay Effenberger's avatar Kay Effenberger
Browse files

FIX(CI)

parent 0676c0f5
No related branches found
No related tags found
1 merge request!16FEAT(gitlab-ci):Push from Feature Branch
Pipeline #3203 passed
......@@ -58,13 +58,15 @@ docker-push:
- |
if [ "$CI_COMMIT_BRANCH" == "$CI_DEFAULT_BRANCH" ]
then docker build -t $AURA_IMAGE_NAME:unstable .
docker push "$AURA_IMAGE_NAME" --all-tag
elif expr "$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME" : ^feat > /dev/null
then docker build -t $AURA_IMAGE_NAME -t $CI_REGISTRY_IMAGE:$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME .
docker push $CI_REGISTRY_IMAGE:$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME
else docker build -t $AURA_IMAGE_NAME -t $AURA_IMAGE_NAME:$CI_COMMIT_TAG .
docker push "$AURA_IMAGE_NAME" --all-tag
fi
# TODO: maybe isolate docker build and docker push
- docker push "$AURA_IMAGE_NAME" --all-tags
rules:
- *release-rules
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment