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

FIX(gitab-ci): --all-tag is no longer needed

parent 29fb3487
No related branches found
No related tags found
1 merge request!17FIX(gitab-ci): --all-tag is no longer needed
Pipeline #3226 passed
......@@ -62,12 +62,12 @@ docker-push:
- |
if [ "$CI_COMMIT_BRANCH" == "$CI_DEFAULT_BRANCH" ]
then docker build -t $AURA_IMAGE_NAME:unstable .
docker push "$AURA_IMAGE_NAME" --all-tag
docker push $AURA_IMAGE_NAME:unstable
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
docker push "$AURA_IMAGE_NAME:$CI_COMMIT_TAG
fi
rules:
- *release-rules
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment