mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
move docker push outside login
This commit is contained in:
@@ -47,10 +47,9 @@ docker tag alfresco/demo-shell:${current_tag} alfresco/demo-shell:${current_tag}
|
||||
if $EXEC_LOGIN == true; then
|
||||
echo "====== LOGIN ====="
|
||||
docker login -u "${USERNAME}" -p "${PASSWORD}"
|
||||
docker push "alfresco/demo-shell"
|
||||
fi
|
||||
|
||||
|
||||
docker push "alfresco/demo-shell"
|
||||
echo "====== CLEAN LOCAL IMAGE TAG ${current_tag} ====="
|
||||
docker rmi -f alfresco/demo-shell:${current_tag}
|
||||
done
|
||||
|
Reference in New Issue
Block a user