Skip to content
Snippets Groups Projects
Commit d86fabb4 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 !21
parents e0f89e50 4265670d
No related branches found
No related tags found
1 merge request!21ci(docker): push latest tag when creating a tagged image
Pipeline #8578 passed
......@@ -72,7 +72,7 @@ docker-push:
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:$CI_COMMIT_TAG
docker push $AURA_IMAGE_NAME --all-tags
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