Skip to content
Snippets Groups Projects
Commit 17a49e07 authored by David (Jointech)'s avatar David (Jointech)
Browse files

Merge branch 'fix-push-latest-with-tag' into 'main'

ci(docker): push latest tag when creating a tagged image

Closes aura#317

See merge request !58
parents f3a86438 7a387b31
No related branches found
No related tags found
1 merge request!58ci(docker): push latest tag when creating a tagged image
Pipeline #8573 passed
Pipeline: aura-tests

#8579

    ...@@ -117,7 +117,7 @@ docker-push: ...@@ -117,7 +117,7 @@ docker-push:
    then docker build -t $AURA_IMAGE_NAME -t $CI_REGISTRY_IMAGE:$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME . 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 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 . else docker build -t $AURA_IMAGE_NAME -t $AURA_IMAGE_NAME:$CI_COMMIT_TAG .
    docker push $AURA_IMAGE_NAME:$CI_COMMIT_TAG docker push $AURA_IMAGE_NAME --all-tags
    fi fi
    rules: rules:
    - *release_rules - *release_rules
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment